3 ms·
Foreign keys are supported with SQLite version 3.6.19 onward (~late 2009), though not enabled by default. https://sqlite.org/foreignkeys.html https://sqlite.or
by justinclift 7y ago
Foreign keys are supported with SQLite version 3.6.19 onward (~late 2009), though not enabled by default.
https://sqlite.org/foreignkeys.html https://sqlite.org/foreignkeys.html
If you can add "PRAGMA foreign_keys = ON;" to your testing script SQL calls - somewhere soon after connecting to SQLite - that enables it.