Fixed migrations #428
This commit is contained in:
parent
5461a6d8dc
commit
2801c617f6
@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
|
|||||||
|
|
||||||
|
|
||||||
class ApiMigration(MigrationABC):
|
class ApiMigration(MigrationABC):
|
||||||
name = "0.3_ApiMigration"
|
name = "0.3.0_ApiMigration"
|
||||||
|
|
||||||
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
||||||
MigrationABC.__init__(self)
|
MigrationABC.__init__(self)
|
||||||
|
@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
|
|||||||
|
|
||||||
|
|
||||||
class InitialMigration(MigrationABC):
|
class InitialMigration(MigrationABC):
|
||||||
name = "0.1_InitialMigration"
|
name = "0.1.0_InitialMigration"
|
||||||
|
|
||||||
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
||||||
MigrationABC.__init__(self)
|
MigrationABC.__init__(self)
|
||||||
|
@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
|
|||||||
|
|
||||||
|
|
||||||
class LevelMigration(MigrationABC):
|
class LevelMigration(MigrationABC):
|
||||||
name = "0.3_LevelMigration"
|
name = "0.3.0_LevelMigration"
|
||||||
|
|
||||||
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
||||||
MigrationABC.__init__(self)
|
MigrationABC.__init__(self)
|
||||||
|
@ -4,7 +4,7 @@ from bot_data.db_context import DBContext
|
|||||||
|
|
||||||
|
|
||||||
class StatsMigration(MigrationABC):
|
class StatsMigration(MigrationABC):
|
||||||
name = "0.3_StatsMigration"
|
name = "0.3.0_StatsMigration"
|
||||||
|
|
||||||
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
def __init__(self, logger: DatabaseLogger, db: DBContext):
|
||||||
MigrationABC.__init__(self)
|
MigrationABC.__init__(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user