#32234: inspectdb should inform about composite keys.
-------------------------------------+-------------------------------------
     Reporter:  Damien               |                    Owner:  Anvesh
         Type:                       |  Mishra
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Management     |                  Version:  3.1
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Anvesh Mishra):

 I actually found a solution to this in SQLite3 through `PRAGMA` keyword
 but since `PRAGMA` is a SQLite3 specific command so my PR didn't passed
 the Jenkins tests https://github.com/django/django/pull/15683. If you
 could provide any suggestions cause if we use any of the introspection
 methods it only takes the first column as primary key and gives no info if
 there were other primary-key columns. Also I tried the changes given in PR
 https://github.com/django/django/pull/13736 but they didn't work.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32234#comment:7>
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/01070180c8335695-ca1c92b4-3f16-4b82-a7b8-7c1b9db32665-000000%40eu-central-1.amazonses.com.

Reply via email to