diff options
author | ubq323 <ubq323> | 2021-06-20 23:14:12 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-06-20 23:14:12 +0000 |
commit | cf78d63468988c50020c9f8b5d9b5ddafc3c4628 (patch) | |
tree | 60f5fbdfa48d06f8e19ed92b7a72b666ce4c8461 | |
parent | 5f24e7ca10bffc20aa486e50e9dee222bda28dc6 (diff) |
turn foreign keys back on again
-rw-r--r-- | apioforum/db.py | 1 |
1 files changed, 1 insertions, 0 deletions
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; """, ] |