diff --git a/app/migrations/20220227162446_backup_options.py b/app/migrations/20220227162446_backup_options.py new file mode 100644 index 00000000..1239dd54 --- /dev/null +++ b/app/migrations/20220227162446_backup_options.py @@ -0,0 +1,8 @@ +# Generated by database migrator +import peewee + +def migrate(migrator, db): + migrator.rename_column('backups', 'directories', 'excluded_dirs') + +def rollback(migrator, db): + migrator.rename_column('backups', 'excluded_dirs', 'directories') \ No newline at end of file