aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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):