#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
-------------------------------------+-------------------------------------

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

 In [changeset:"b8a2f3c2d66aa15af4be745a576609b958a853c0" b8a2f3c]:
 {{{
 #!CommitTicketReference repository=""
 revision="b8a2f3c2d66aa15af4be745a576609b958a853c0"
 [1.11.x] 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.

 Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
 }}}

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

Reply via email to