diff --git a/app/migrations/20240308_multi-backup.py b/app/migrations/20240308_multi-backup.py index 3a2899f4..78f891d1 100644 --- a/app/migrations/20240308_multi-backup.py +++ b/app/migrations/20240308_multi-backup.py @@ -66,7 +66,7 @@ def migrate(migrator: Migrator, database, **kwargs): database = db 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_location = peewee.CharField(default="") excluded_dirs = peewee.CharField(null=True)