Home | History | Annotate | Download | only in migrations
      1 UP_SQL = """
      2 ALTER TABLE users ADD COLUMN `show_experimental` bool NOT NULL DEFAULT FALSE;
      3 """
      4 
      5 DOWN_SQL = """
      6 ALTER TABLE users DROP COLUMN `show_experimental`;
      7 """
      8 
      9 def migrate_up(manager):
     10     manager.execute_script(UP_SQL)
     11 
     12 
     13 def migrate_down(manager):
     14     manager.execute_script(DOWN_SQL)
     15