#35589: AlterField should raise an error when changing primary key
----------------------------------+--------------------------------------
     Reporter:  Csirmaz Bendegúz  |                    Owner:  (none)
         Type:  New feature       |                   Status:  closed
    Component:  Migrations        |                  Version:  dev
     Severity:  Normal            |               Resolution:  needsinfo
     Keywords:  primary key       |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Comment (by Csirmaz Bendegúz):

 Replying to [comment:1 Natalia Bidart]:
 > What do you mean exactly with ''AlterField doesn't do anything''?

 Thank you for picking up this ticket so quickly!
 As far as I understand, it's the `AddField` that fails in your migration.
 If you remove `AddField`, you'll see `AlterField` doesn't do anything.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35589#comment:2>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070190a0b0c4ea-5068bc26-2feb-49af-bc96-5484be702ed4-000000%40eu-central-1.amazonses.com.

Reply via email to