Changes between Initial Version and Version 1 of Ticket #32234, comment 7


Ignore:
Timestamp:
May 18, 2022, 5:09:34 AM (3 years ago)
Author:
Anvesh Mishra

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32234, comment 7

    initial v1  
    1 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.
     1I 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 `get_constraint` method to fetch the primary key 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.
Back to Top