#33194: Remaking table with unique constraint crashes on SQLite.
-------------------------------------+-------------------------------------
Reporter: Mark | Owner: Hannes
| Ljungberg
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
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 Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"f5802a21c401b92764a9f3e2886144f3c5d77573" f5802a21]:
{{{
#!CommitTicketReference repository=""
revision="f5802a21c401b92764a9f3e2886144f3c5d77573"
[3.2.x] Fixed #33194 -- Fixed migrations when altering a field with
functional indexes on SQLite.
This adjusts Expressions.rename_table_references() to only update alias
when needed.
Regression in 83fcfc9ec8610540948815e127101f1206562ead.
Co-authored-by: Simon Charette <[email protected]>
Backport of 86971c40909430a798e4e55b140004c4b1fb02ff from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33194#comment:9>
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.ed7a4b1992488ff3fa130eb18762f532%40djangoproject.com.