Fixed migrations #428

This commit is contained in:
Sven Heidemann 2023-11-10 13:27:58 +01:00
parent 5461a6d8dc
commit 2801c617f6
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
class ApiMigration(MigrationABC):
name = "0.3_ApiMigration"
name = "0.3.0_ApiMigration"
def __init__(self, logger: DatabaseLogger, db: DBContext):
MigrationABC.__init__(self)

View File

@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
class InitialMigration(MigrationABC):
name = "0.1_InitialMigration"
name = "0.1.0_InitialMigration"
def __init__(self, logger: DatabaseLogger, db: DBContext):
MigrationABC.__init__(self)

View File

@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
class LevelMigration(MigrationABC):
name = "0.3_LevelMigration"
name = "0.3.0_LevelMigration"
def __init__(self, logger: DatabaseLogger, db: DBContext):
MigrationABC.__init__(self)

View File

@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
class StatsMigration(MigrationABC):
name = "0.3_StatsMigration"
name = "0.3.0_StatsMigration"
def __init__(self, logger: DatabaseLogger, db: DBContext):
MigrationABC.__init__(self)