Skip to content

Commit 1b3b72a

Browse files
swap commands
1 parent 9f2669a commit 1b3b72a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cads_broker/database.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,6 @@ def init_database(connection_string: str, force: bool = False) -> sa.engine.Engi
899899
BaseModel.metadata.create_all(engine)
900900
else:
901901
# update db structure
902-
cacholote.init_database(connection_string, force)
903902
alembic.command.upgrade(alembic_cfg, "head")
903+
cacholote.init_database(connection_string, force)
904904
return engine

0 commit comments

Comments
 (0)