You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,14 @@ Using the default `--merge` option creates a new migration file which might not
84
84
85
85
## Solution
86
86
87
-
Using `django-migration-fixer` identifies changes between the default branch `main`, and the feature branch `feature/test-b` by maintaining a linear dependency as shown below:
87
+
`django-migration-fixer` identifies changes between the default branch `main`, and the feature branch `feature/test-b` and maintains a linear dependency history as shown below:
88
+
89
+
Run
90
+
91
+
```bash script
92
+
$ python manage.py makemigrations --fix
93
+
```
94
+
88
95
89
96
**Branch:**`feature/test-b`
90
97
@@ -103,12 +110,6 @@ migrations
103
110
The final migration on the default branch would be used as the base for all subsequent migrations.
0 commit comments