#34926: Missing model after squashing ----------------------------------------------+------------------------ Reporter: Sebastian Jekutsch | Owner: nobody Type: Bug | Status: new Component: Migrations | Version: 4.2 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ----------------------------------------------+------------------------ Sorry for an unspecific subject and not searching for duplicates due to lack of knowledge, understanding and time.
As an excerpt from #34924 which has been correctly closed as duplicate for two of its issues, the third one remains unresolved, as far as I see. I reopen it with this new report. Based on the attachments 1. Zip of single migrations 0001 to 0116 2. Resulting squashed migration file of "manage.py squashmigrations knowledgebase 0116" 3. models.py at the end of 0116 I found that model Activity has errorneously disappeared completely in the squashed migration file. It has even not been detected by a new makemigrations run for cross-check. -- Ticket URL: <https://code.djangoproject.com/ticket/34926> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018b62acb52f-4825f0dd-614f-4c70-8b86-3a19eed96e73-000000%40eu-central-1.amazonses.com.