summaryrefslogtreecommitdiff
path: root/archivist/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'archivist/model.py')
-rw-r--r--archivist/model.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archivist/model.py b/archivist/model.py
index 2d9476a..1544f3f 100644
--- a/archivist/model.py
+++ b/archivist/model.py
@@ -13,6 +13,7 @@ from .peewee_fixes import * # dummy to force evaluation of those fixes
db = SqliteExtDatabase('test.db', pragmas=[('foreign_keys', 'ON')])
db.load_extension(resource_filename(__name__, 'sqlext/closure'))
+db.set_autocommit(False)
__tables__ = []
__all__ = ['create_tables', 'drop_tables']