1 def migrate_up(mgr): 2 mgr.execute("alter table tests modify column reason varchar(1024);") 3 4 def migrate_down(mgr): 5 mgr.execute("alter table tests modify column reason varchar(100);") 6