#33185: sqlmigrate crashes given a RenameModel operation with a self-referencing
foreign key
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Sidharth
| Dusanapudi
Type: Bug | Status: assigned
Component: Migrations | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):
* stage: Accepted => Ready for checkin
* summary:
sqlmigrate crashes given a RenameModel operation with a self-
referencing foreign key on MySQL
=>
sqlmigrate crashes given a RenameModel operation with a self-
referencing foreign key
Comment:
As pointed out in comment:2, the submitted fix likely doesn't work for a
sequence of more than one `RenameModel` operation, but I'm happy to merge
a fix for the most likely case of a single one.
--
Ticket URL: <https://code.djangoproject.com/ticket/33185#comment:19>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019eb244339b-33aef053-ec29-49ee-99de-ca8e6be89763-000000%40eu-central-1.amazonses.com.