1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
293 B

UP_SQL = """
ALTER TABLE users ADD COLUMN `show_experimental` bool NOT NULL DEFAULT FALSE;
"""
DOWN_SQL = """
ALTER TABLE users DROP COLUMN `show_experimental`;
"""
def migrate_up(manager):
manager.execute_script(UP_SQL)
def migrate_down(manager):
manager.execute_script(DOWN_SQL)