Opened 13 months ago

Last modified 13 months ago

#34926 closed Bug

Missing model after squashing — at Version 1

Reported by: Sebastian Jekutsch Owned by: nobody
Component: Migrations Version: 4.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Sebastian Jekutsch)

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

within #34924,
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.

Change History (1)

comment:1 by Sebastian Jekutsch, 13 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top