crafty-4/app/migrations/20220227162446_backup_options.py
Zedifus e06fe8a52a Black codebase
Apply black formatting to codebase
2022-03-23 02:50:12 +00:00

11 lines
256 B
Python

# 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")