diff options
author | ubq323 <ubq323> | 2021-06-20 23:15:30 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-06-20 23:15:30 +0000 |
commit | 7281e58551e9c1da83cb3e5cfbb910aa97892994 (patch) | |
tree | a2a75fb73a6d49f2df5d1534c7b5c85b6679a628 | |
parent | cf78d63468988c50020c9f8b5d9b5ddafc3c4628 (diff) |
foreign still doesn't have an h in it
-rw-r--r-- | apioforum/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/db.py b/apioforum/db.py index 2afba74..76aacc2 100644 --- a/apioforum/db.py +++ b/apioforum/db.py @@ -10,7 +10,7 @@ def get_db(): detect_types=sqlite3.PARSE_DECLTYPES ) g.db.row_factory = sqlite3.Row - g.db.execute("PRAGMA foreighn_keys = ON;") + g.db.execute("PRAGMA foreign_keys = ON;") return g.db def close_db(e=None): |