• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1UP_SQL = """
2ALTER TABLE users ADD COLUMN `show_experimental` bool NOT NULL DEFAULT FALSE;
3"""
4
5DOWN_SQL = """
6ALTER TABLE users DROP COLUMN `show_experimental`;
7"""
8
9def migrate_up(manager):
10    manager.execute_script(UP_SQL)
11
12
13def migrate_down(manager):
14    manager.execute_script(DOWN_SQL)
15