diff --git a/nomen/db.py b/nomen/db.py index 7a38522..c9baabc 100644 --- a/nomen/db.py +++ b/nomen/db.py @@ -107,6 +107,9 @@ async def setup_db(db_file): PRAGMA foreign_keys = ON; """) + log.debug("Setting row factory") + db.row_factory = sqlite3.Row + log.debug("Adding contains function") await db.create_function("contains", 3, contains, deterministic=True)