#28305: AlterField migration tries to alter column that still has a foreign key
contraint
-------------------------------------+-------------------------------------
     Reporter:  Andreas Backx        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Migrations           |                  Version:  master
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  mysql,               |             Triage Stage:  Accepted
  onetoonefield, utf8mb4, foreign    |
  key                                |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c3e0adcad8d8ba94b33cabd137056166ed36dae0" c3e0adc]:
 {{{
 #!CommitTicketReference repository=""
 revision="c3e0adcad8d8ba94b33cabd137056166ed36dae0"
 Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key
 constraint" crash on MySQL with a sequence of AlterField or RenameField
 operations.

 Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28305#comment:13>
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/070.02ed9e5154155528ac66f834c70ddd66%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to