- Remove migrations for each app
- Run
makemigrationsfor each app - Remove each migration >
0001 - Edit each
0001_initialmigration - Remove operations distinct of
migrations.CreateModel - Remove fields of type
ForeignKeyFieldorManyToManyField - Clear dependencies = []
- Run
makemigrationsagain for each app - Edit each
0002migration and change each dependency for0001_initial - Change the name of each
0002migration for the last know migration of each app - If you only have one
0001migration rename this - Done!
Last active
August 29, 2015 14:08
-
-
Save pricco/48e20e9a5b65bed3e65d to your computer and use it in GitHub Desktop.
Merge Django 1.7 Migrations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🏃