refactor db upgrade

This commit is contained in:
jokob-sk
2025-06-30 15:37:40 +10:00
parent 0cd806fb74
commit 190c6fb007
5 changed files with 351 additions and 272 deletions

View File

@@ -78,8 +78,8 @@ def main ():
db.open()
sql = db.sql # To-Do replace with the db class
# Upgrade DB if needed
db.upgradeDB()
# Init DB
db.initDB()
# Initialize the WorkflowManager
workflow_manager = WorkflowManager(db)