#25492: Check deferred foreign key constraints before dropping them
-------------------------------------+-------------------------------------
Reporter: Joey Wilhelm | Owner: nobody
Type: New feature | Status: new
Component: Core (System | Version: master
checks) |
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
-------------------------------------+-------------------------------------
Comment (by Shai Berger):
Haven't got time to review the patch, just wanted to note that mixing
schema-altering operations with data-modifying operations can have other
issues, mostly related to deferred SQL (statements that an operation
queues to be performed only at the end of the migration; FK creation does
that, and probably some others too).
--
Ticket URL: <https://code.djangoproject.com/ticket/25492#comment:11>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.3300810ff45890b13019f22a281ae846%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.