#29854: Altering the primary key targeted by several foreign keys incorrectly
alters the foreign key's NULL attribute
-------------------------------------+-------------------------------------
     Reporter:  Rick Yang            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Migrations           |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, Migration,    |             Triage Stage:  Accepted
  Altering primary key,              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * stage:  Unreviewed => Accepted


Comment:

 I'm attaching a sample project that reproduces the issue on master (tested
 at dc5e75d419893bde33b7e439b59bdf271fc1a3f2). Using the `repeated-django-
 test.sh` script in the archive, a failure will usually occur within about
 10 test runs. PostgreSQL doesn't seem affected.

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

Reply via email to