summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-20 22:53:22 +0000
committerubq323 <ubq323>2021-06-20 22:53:22 +0000
commitd9558f88dea6c72e4bfe27f634aa38eca8bf3e3d (patch)
treeeeff2654faa9e5eb790c607ce4e5253c2fe0d881
parent4284137ccfa451bd36eb9e7a02db9252315bf20a (diff)
'foreign' does not have an h in it
-rw-r--r--apioforum/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/db.py b/apioforum/db.py
index 910118d..e5159db 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):