#31503: Moving a unique constraint from unique_together to Field.unique
generate an
invalid migration.
-------------------------------------+-------------------------------------
Reporter: Xiang Wang | Owner: David
| Wobrock
Type: Bug | Status: closed
Component: Migrations | Version: 3.0
Severity: Normal | Resolution: fixed
Keywords: unique_together | Triage Stage: Ready for
unique migrations | 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:"0314593fe8e7dc685bbb6585eee40e755588864e" 0314593f]:
{{{
#!CommitTicketReference repository=""
revision="0314593fe8e7dc685bbb6585eee40e755588864e"
Fixed #31503 -- Made autodetector remove unique/index_together before
altering fields.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31503#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.196776d5f38a0bf1f68a4b97fe0cd6aa%40djangoproject.com.