Changes between Initial Version and Version 2 of Ticket #28916
- Timestamp:
- Dec 12, 2017, 9:54:06 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28916
- Property Component Uncategorized → Migrations
-
Ticket #28916 – Description
initial v2 24 24 }}} 25 25 26 This can result in an automatically created migration (using `manage.py m igrate`) that looks like this:26 This can result in an automatically created migration (using `manage.py makemigrations`) that looks like this: 27 27 28 28 {{{ … … 44 44 }}} 45 45 46 This migration fails, because `AlterUniqueTogether` needs to come before `RemoveField`, as it references `fka`. 46 This migration fails, because `AlterUniqueTogether` needs to come before `RemoveField`, as it references `fka`. This is hard to debug, and can only be fixed by manually reordering the migration operations.