]> git.g-eek.se Git - interimap.git/commit
interimap: Enforce SQLite foreign key constraints.
authorGuilhem Moulin <guilhem@fripost.org>
Sun, 19 May 2019 13:00:45 +0000 (15:00 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Sun, 26 May 2019 22:07:30 +0000 (00:07 +0200)
commit06e459f3ccfb407d7587c470c37328df386b6ff6
treee66cf4343498bfcbcd9785b3f2428951e5806b80
parent25362c873c7641341f17e9c2e8d17d82cb3d94c5
interimap: Enforce SQLite foreign key constraints.

Setting the 'foreign_keys' PRAGMA during a multi-statement transaction
(when SQLite is not in autocommit mode) is a no-op.

https://www.sqlite.org/pragma.html#pragma_foreign_keys
https://www.sqlite.org/foreignkeys.html#fk_enable
Changelog
interimap