Enable foreign keys

This commit is contained in:
2024-12-31 00:06:19 +01:00
parent e5e85d494e
commit 3c4cfe8e99
2 changed files with 2 additions and 8 deletions

View File

@ -70,5 +70,3 @@ CREATE TRIGGER prevent_created_at_update_votes
BEGIN
SELECT RAISE(FAIL, 'created_at column is read-only');
END;
PRAGMA foreign_keys = ON; -- run after opening the connection so foreign key constraints are checked