Home | History | Annotate | Download | only in migrations
      1 JOB_TO_CLIENT_JOB = """UPDATE tests SET test='CLIENT_JOB' WHERE test='JOB';"""
      2 
      3 CLIENT_JOB_TO_JOB = """UPDATE tests SET test='JOB' WHERE test='CLIENT_JOB';"""
      4 
      5 
      6 def migrate_up(manager):
      7     manager.execute_script(JOB_TO_CLIENT_JOB)
      8 
      9 
     10 def migrate_down(manager):
     11     manager.execute_script(CLIENT_JOB_TO_JOB)
     12