Skip to content

Commit 6d159b1

Browse files
daxtensstephenfin
authored andcommitted
migrations: don't go to the db for 0041_python3 migration
When we moved to Python 3, makemigrations wanted to change a bunch of things, see commit 4ad87ed ("migrations: Add the Python 3 patch"). The change is, as observed then, just to make django happy; it's not supposed to change the database at all. So make the migration change the state as seen by Django only. This makes the migration ~instant, even for a huge database. Signed-off-by: Daniel Axtens <dja@axtens.net> Reviewed-by: Stephen Finucane <stephen@that.guru> Related: #420 (cherry picked from commit 3a979ed)
1 parent 0235b2b commit 6d159b1

File tree

1 file changed

+318
-314
lines changed

1 file changed

+318
-314
lines changed

0 commit comments

Comments
 (0)