crafty-4/app/migrations/stats/20220817_schedule_rename_downloading.py
amcmanu3 eea5e329af Refactor and add import_helpers.
Working jar imports
2022-08-17 17:22:03 -04:00

18 lines
386 B
Python

# Generated by database migrator
import peewee
def migrate(migrator, database, **kwargs):
migrator.rename_column("server_stats", "downloading", "importing")
"""
Write your migrations here.
"""
def rollback(migrator, database, **kwargs):
migrator.rename_column("server_stats", "importing", "downloading")
"""
Write your rollback migrations here.
"""