File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 34
34
pip install django-replace-migrations
35
35
```
36
36
37
- and add ` django_migration_linter ` to your list of installed apps.
37
+ and add ` django_replace_migrations ` to your list of installed apps.
38
38
39
39
40
40
## Simple Workflow
@@ -66,10 +66,10 @@ The workflow for this would be:
66
66
67
67
* ` git checkout 2.0 `
68
68
* create a new branch ` git checkout -b 2-0-delete-migrations `
69
- * delete all existing migrations in your apps
69
+ * [ delete all existing migrations in your apps] ( https://simpleisbetterthancomplex.com/tutorial/2016/07/26/how-to-reset-migrations.html )
70
70
* commit and note the commit hash
71
71
* ` git checkout 2.0 `
72
- * create a new branch ` git checkout 2-0-replace-migrations `
72
+ * create a new branch ` git checkout -b 2-0-replace-migrations `
73
73
* run ` ./manage.py makemigrations --replace-all --name replace_2_0 [app1, app2, ...] `
74
74
* commit and note the commit hash
75
75
* ` git checkout [your main branch] `
You can’t perform that action at this time.
0 commit comments