#36357: inspectdb creates a redundant unique_together for composite primary keys
-------------------------------------+-------------------------------------
     Reporter:  Baptiste Mispelon    |                    Owner:  Baptiste
                                     |  Mispelon
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  CompositePrimaryKey  |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):

 In [changeset:"1367a197dda2027e4fcf33e3053244fdcbda9d8c" 1367a197]:
 {{{#!CommitTicketReference repository=""
 revision="1367a197dda2027e4fcf33e3053244fdcbda9d8c"
 [5.2.x] Fixed #36357 -- Skipped unique_together in inspectdb output for
 composite primary keys.

 Thanks to Baptiste Mispelon for the report and quick fix, and to Simon
 Charette and Jacob Walls for the reviews.

 Co-authored-by: Natalia <[email protected]>

 Backport of 66f9eb0ff1e7147406318c5ba609729678e4e6f6 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36357#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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701968732dd26-9038cf06-a63c-4c76-97d1-05fd34c4c015-000000%40eu-central-1.amazonses.com.

Reply via email to