mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
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')
|