#34866: Cannot inspect migrations that replace squashed migrations with
sqlmigrate
----------------------------------+---------------------------------------
Reporter: Giovanni Allegri | Owner: Sandeep Pal
Type: Bug | Status: closed
Component: Migrations | Version: 4.2
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+---------------------------------------
Changes (by Mariusz Felisiak):
* cc: David Wobrock (added)
* status: assigned => closed
* resolution: => needsinfo
* easy: 1 => 0
* type: Uncategorized => Bug
Comment:
> However, in case the squashed migrations remove a model or a field, the
command breaks when it reaches the migration that replaces the squashed
migrations. since this will try to modify a model that was already removed
(by the squashed migrations).
I cannot reproduce any crash in such a scenario. Please reopen the ticket
if you can debug your issue and provide a sample project that reproduces
the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/34866#comment:4>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018aca6773be-baf771df-a66f-4cd2-8dee-a1b91edaa9e8-000000%40eu-central-1.amazonses.com.