mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix migration
This commit is contained in:
parent
f991b79782
commit
e2132c2130
@ -24,7 +24,7 @@ def migrate(migrator: Migrator, database, **kwargs):
|
|||||||
)
|
)
|
||||||
migrator.add_columns(
|
migrator.add_columns(
|
||||||
"backups",
|
"backups",
|
||||||
backup_id=peewee.CharField(primary_key=True, default=Helpers.create_uuid),
|
backup_id=peewee.CharField(default=Helpers.create_uuid),
|
||||||
)
|
)
|
||||||
migrator.add_columns("backups", backup_name=peewee.CharField(default="Default"))
|
migrator.add_columns("backups", backup_name=peewee.CharField(default="Default"))
|
||||||
migrator.add_columns("backups", backup_location=peewee.CharField(default=""))
|
migrator.add_columns("backups", backup_location=peewee.CharField(default=""))
|
||||||
|
Loading…
Reference in New Issue
Block a user