#28862: Removing a field from index_together/unique_together and from the model
generates a migration that crashes
-----------------------------------+------------------------------------
     Reporter:  Artem Maslovskiy   |                    Owner:  Jeff
         Type:  Bug                |                   Status:  closed
    Component:  Migrations         |                  Version:  1.9
     Severity:  Normal             |               Resolution:  fixed
     Keywords:  models migrations  |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"8e3f22f2513a5b64153ea9903690a38ac159031b" 8e3f22f2]:
 {{{
 #!CommitTicketReference repository=""
 revision="8e3f22f2513a5b64153ea9903690a38ac159031b"
 Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.

 This should alleviate the side effects of disabling the AlterFooOperation
 reduction with RemoveField to fix refs #28862 during migration squashing
 because CreateModel can perform a reduction with RemoveField.

 Thanks Nick Pope for the review.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28862#comment:28>
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/063.4134ad987346931c8a9d362cc9fc741c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to