Opened 8 years ago
Closed 8 years ago
#27096 closed Bug (fixed)
SQLite fails finding a table primary key when it's also a foreign key
Reported by: | Claude Paroz | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When the primary key of a table is also a foreign key, the get_primary_key_column
introspection function of the SQLite backend cannot detect the primary key (deficient regex).
Change History (3)
comment:1 by , 8 years ago
Has patch: | set |
---|
comment:2 by , 8 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR