unplugged-system/external/autotest/tko/migrations/130_modify_test_attributes_length.py

6 lines
221 B
Python
Raw Normal View History

def migrate_up(mgr):
mgr.execute("alter table tko_test_attributes modify column attribute varchar(50);")
def migrate_down(mgr):
mgr.execute("alter table tko_test_attributes modify column attribute varchar(30);")