Enable foreign keys
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user