#25551: makemigrations when adding a ForeignKey to a newly created model along
with
a unique_together constraint must create fields before the unique_together
constraint
----------------------------+---------------------------------------
Reporter: mssnlayam | Owner: avojnovicDk
Type: Bug | Status: closed
Component: Migrations | Version: 1.8
Severity: Normal | 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:"73a6ab6382809d5452907dcff5767403d8d66985" 73a6ab63]:
{{{
#!CommitTicketReference repository=""
revision="73a6ab6382809d5452907dcff5767403d8d66985"
Fixed #25551 -- Fixed migration operations ordering when adding fields and
a unique_together constraint.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25551#comment:6>
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/067.9e908f87bfe9ac37998bd6854daec584%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.