id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 25793 Removing an MTI model generates an incorrect migration Ned Batchelder nobody "I had a model that inherited from two other models but added no fields of its own. When I removed the model and generated the migration, it was an invalid migration. It deleted each field individually, and then dropped the table. The problem is that you cannot drop the last field in a table, so the migration will not run. A demonstration is at https://github.com/nedbat/django_issue_25793" Bug closed Migrations 1.8 Normal duplicate Unreviewed 0 0 0 0 0 0