#30754: Partial indexes break future migrations in sqlite
----------------------------+------------------------------------
Reporter: cuu508 | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 2.2
Severity: Normal | Resolution:
Keywords: sqlite | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
Changes (by Simon Charette):
* keywords: => sqlite
* stage: Unreviewed => Accepted
Comment:
This is probably another edge cased missed by the create/rename table
workaround on SQLite to emulate `ALTER TABLE` wrt to partial indices.
If possible we should simply not include the table alias in the partial
index predicate else I suspect we'll need to defer index re-creation on
the table '''after''' the rename.
I haven't reproduced but I feel confident accepting the ticket based on
the detailed report and reduced reproduction case.
--
Ticket URL: <https://code.djangoproject.com/ticket/30754#comment:1>
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/064.55703a55bdb9d5c10599dfb0d75452d0%40djangoproject.com.