Skip to content

Commit 79a38f6

Browse files
authored
Update errors.md
1 parent 0ff660d commit 79a38f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

django/errors.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Django manage.py: Migration applied before its dependency
2+
3+
When working on large projects where migrations are created in parallel and then merged, developers often squash the migrations to quickly resolve issues. However, if a branch is using one of the migrations that gets squashed then it cannot be found. If this is just a problem in development then you may be able to delete your local database and start again. Otherwise you're either going to need to [revert the squash or manually fix the migrations table](https://stackoverflow.com/questions/38996599/django-manage-py-migration-applied-before-its-dependency).
4+
15
## inspectdb failed with MySQL
26

37
**error:**

0 commit comments

Comments
 (0)