From d9558f88dea6c72e4bfe27f634aa38eca8bf3e3d Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 20 Jun 2021 22:53:22 +0000 Subject: 'foreign' does not 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 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): -- cgit v1.2.3