How do you create Django migrations for Askbot?
 

In askbot/migrations there are (currently) 14 python scripts that set up a database to be used with Askbot. Three of these files load plpgsql scripts from askbot/search/postgresql into the database.

On the one hand, the choice of the plpgsql scripts to use and the content of the migration scripts looks like the migrations were created manually. On the other hand the migration script filenames look like the migrations were create by python manage.py makemigrations.

How were/are these migrations scripts created? My guess is they were created manually, but then, why the cryptic timestampy filenames?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
martin-bts's avatar
78
martin-bts
asked 5 years ago

Comments

see more comments