blob: a628d10de6a17ec957c70d52c6b24e31b414d1e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
JOB_TO_CLIENT_JOB = """UPDATE tests SET test='CLIENT_JOB' WHERE test='JOB';"""
CLIENT_JOB_TO_JOB = """UPDATE tests SET test='JOB' WHERE test='CLIENT_JOB';"""
def migrate_up(manager):
manager.execute_script(JOB_TO_CLIENT_JOB)
def migrate_down(manager):
manager.execute_script(CLIENT_JOB_TO_JOB)
|