#24893: Django migrations don't add unique constraint for field that is changed
from primary_key to unique
---------------------------------+-------------------------------------
Reporter: jbzdak | Owner: timgraham
Type: Bug | Status: closed
Component: Migrations | Version: 1.8
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e1e6399c2ce39a3656155c4d704340eac83926a7" e1e6399]:
{{{
#!CommitTicketReference repository=""
revision="e1e6399c2ce39a3656155c4d704340eac83926a7"
Fixed #24893 -- Fixed lack of unique constraint when changing a field from
primary_key=True to unique=True
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24893#comment:4>
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/064.a75d00782ac10c1c5be594ff5333200e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.