3 ms·
>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 a
by theptip 9y ago
>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]
[1]: http://pankrat.github.io/2015/django-migrations-without-downtimes/ http://pankrat.github.io/2015/django-migrations-without-down...