#24424: Removing a model's last field results in SQL syntax error
------------------------------+------------------------------------------
Reporter: Adam Hayward | Owner: Simon Charette
Type: Bug | Status: assigned
Component: Migrations | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------------
Changes (by Simon Charette):
* cc: Simon Charette (added)
* owner: (none) => Simon Charette
* version: 1.7 => 2.1
* status: new => assigned
Comment:
I'm pretty confident this is now fixed in master by
ad82900ad94ed4bbad050b9993373dafbe66b610 which added `[RemoveField,
DeleteModel] -> [DeleteModel]` reduction.
I'll submit a few regression tests including a reverse database
application to make sure nothing is broken.
From my understanding this was only happening in MTI scenarios.
--
Ticket URL: <https://code.djangoproject.com/ticket/24424#comment:35>
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/063.f26872e1f0a2eb66769715461330a4a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.