diff --git a/src/cpl_core/database/context/database_context.py b/src/cpl_core/database/context/database_context.py index f71fe74d..2e00775f 100644 --- a/src/cpl_core/database/context/database_context.py +++ b/src/cpl_core/database/context/database_context.py @@ -33,6 +33,8 @@ class DatabaseContext(DatabaseContextABC): for table in self._tables: self._db.cursor.execute(table.get_create_string()) + self.save_changes() + def save_changes(self): self._db.server.commit()