From 7281e58551e9c1da83cb3e5cfbb910aa97892994 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 20 Jun 2021 23:15:30 +0000 Subject: foreign still doesn't have an h in it --- apioforum/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3