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

Comment (by Markus Holtermann):

 Now I understand, Ramiro. I concur with your evaluation that the initial
 assumption is wrong. I am as well surprised that this hasn't come up
 earlier / more frequently.

 Another idea that came to mind was adding temporary dependencies in
 
https://github.com/MarkusH/django/blob/8e352876c337332b45a72da8bbccad2830c7b1e0/django/db/migrations/autodetector.py#L1006-L1021

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28862#comment:10>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.d6fc8b3a108cafdef4506d5483cc0ac8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to