#5698: sqlite backend missing foreign keys
-------------------------------------+-------------------------------------
Reporter: davisp | Owner: nobody
Type: Uncategorized | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: sqlite foreign key | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by potpath):
* ui_ux: => 0
* type: => Uncategorized
* severity: => Normal
* easy: => 0
Comment:
Replying to [comment:1 mtredinnick]:
> SQLite does not support foreign keys at all.
Update:
[[https://www.sqlite.org/foreignkeys.html|SQLite support foreign key since
version 3.6.19.]]
There are some workarounds here:
https://stackoverflow.com/questions/6745763/enable-integrity-checking-
with-sqlite-in-django
--
Ticket URL: <https://code.djangoproject.com/ticket/5698#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.7270200b1a9d1bec2f47b77b55481e07%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.