aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-20 23:15:30 +0000
committerubq323 <ubq323>2021-06-20 23:15:30 +0000
commit7281e58551e9c1da83cb3e5cfbb910aa97892994 (patch)
treea2a75fb73a6d49f2df5d1534c7b5c85b6679a628
parentcf78d63468988c50020c9f8b5d9b5ddafc3c4628 (diff)
foreign still doesn't 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 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):