From cf78d63468988c50020c9f8b5d9b5ddafc3c4628 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 20 Jun 2021 23:14:12 +0000 Subject: turn foreign keys back on again --- apioforum/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apioforum/db.py b/apioforum/db.py index 136b7c6..2afba74 100644 --- a/apioforum/db.py +++ b/apioforum/db.py @@ -108,6 +108,7 @@ INSERT INTO threads_new (id,title,creator,created,updated,forum) DROP TABLE threads; ALTER TABLE threads_new RENAME TO threads; COMMIT; +PRAGMA foreign_keys = on; """, ] -- cgit v1.2.3