Opened 9 years ago

Closed 9 years ago

Last modified 8 months ago

#5698 closed Uncategorized (invalid)

sqlite backend missing foreign keys

Reported by: davisp Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Normal Keywords: sqlite foreign key
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The sqlite backend is missing some foreign key constraints. Specifically, auth_permissin.content_type_id never gets marked as a foreign key.

Change History (3)

comment:1 follow-up: Changed 9 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

SQLite does not support foreign keys at all.

comment:2 in reply to: ↑ 1 Changed 8 months ago by potpath

  • Easy pickings unset
  • Severity set to Normal
  • Type set to Uncategorized
  • UI/UX unset

comment:3 Changed 8 months ago by timgraham

#14204 is the ticket for adding support for foreign key constraints on SQLite.

Note: See TracTickets for help on using tickets.
Back to Top