#24061: When deleting a model with foreignkey, redundant RemoveField created.
--------------------------------------+------------------------------------
Reporter: SonOfLilit | Owner: coldmind
Type: Cleanup/optimization | Status: assigned
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by coldmind):
* type: Bug => Cleanup/optimization
Comment:
Seems some commit (maybe
https://github.com/django/django/commit/fdc2cc948725866212a9bcc97b9b7cf21bb49b90)
fixed backwards migration. It is working now, at least it is not crashing
(checked two issues from ticket description).
But maybe we can at least add an optimizer rule here to make migration
more cleaner.
--
Ticket URL: <https://code.djangoproject.com/ticket/24061#comment:10>
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/068.50b51443ff7b3cc04f5ff9fba860f4cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.