mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
54d8ee4b7d
Changes the column 'directories' in the backups table to 'excluded_dirs' so that we're only storing a list of excluded directories
8 lines
250 B
Python
8 lines
250 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') |