summaryrefslogtreecommitdiff
path: root/src/mailman/database/factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/database/factory.py')
-rw-r--r--src/mailman/database/factory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/database/factory.py b/src/mailman/database/factory.py
index ea2048143..8a5909283 100644
--- a/src/mailman/database/factory.py
+++ b/src/mailman/database/factory.py
@@ -88,6 +88,7 @@ class SchemaManager:
def _create(self):
# initial DB creation
Model.metadata.create_all(self.database.engine)
+ self.database.commit()
command.stamp(alembic_cfg, "head")
def _upgrade(self):