Migrate database to new schema... spin up new instance
Sadly this is more of a pain in Django, since it does not write default values to the database. To be able to safely run the migration first, one must manually rewrite the SQL for the migration. [1]
Comments
Sadly this is more of a pain in Django, since it does not write default values to the database. To be able to safely run the migration first, one must manually rewrite the SQL for the migration. [1]
[1]: http://pankrat.github.io/2015/django-migrations-without-down...