I'm trying to enable foreign keys on a sqlite3 database doing this:
sqlite> PRAGMA foreign_keys=ON;
But it doen't work.
How can I do it?
Note: the database is on an Android device.
Thanks.
I'm trying to enable foreign keys on a sqlite3 database doing this:
sqlite> PRAGMA foreign_keys=ON;
But it doen't work.
How can I do it?
Note: the database is on an Android device.
Thanks.
Sqlite3 supports foreign keys only as of version 3.6.19 http://www.sqlite.org/foreignkeys.html
UPDATE