mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix issue with backup UUID on migration
This commit is contained in:
parent
e2132c2130
commit
a69d569e23
@ -66,7 +66,7 @@ def migrate(migrator: Migrator, database, **kwargs):
|
|||||||
database = db
|
database = db
|
||||||
|
|
||||||
class NewBackups(peewee.Model):
|
class NewBackups(peewee.Model):
|
||||||
backup_id = peewee.CharField(primary_key=True, default=Helpers.create_uuid())
|
backup_id = peewee.CharField(primary_key=True, default=Helpers.create_uuid)
|
||||||
backup_name = peewee.CharField(default="New Backup")
|
backup_name = peewee.CharField(default="New Backup")
|
||||||
backup_location = peewee.CharField(default="")
|
backup_location = peewee.CharField(default="")
|
||||||
excluded_dirs = peewee.CharField(null=True)
|
excluded_dirs = peewee.CharField(null=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user