Fixed migration service
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m14s

This commit is contained in:
Sven Heidemann 2023-11-15 19:30:29 +01:00
parent 05f718f3ae
commit 802d5478d1
2 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
ALTER TABLE CFG_Technician
ADD Maintenance BOOLEAN DEFAULT FALSE AFTER MaxSteamOfferCount;
ALTER TABLE CFG_TechnicianHistory
ADD Maintenance BOOLEAN DEFAULT FALSE AFTER MaxSteamOfferCount;

View File

@ -67,7 +67,7 @@ class MigrationService:
def _load_scripts(self, upgrade: bool = True) -> List[Migration]:
migrations = List(Migration)
path = "../../src/bot_data/scripts"
path = "../bot_data/scripts"
if not os.path.exists(path):
raise Exception("Migration path not found")