1def migrate_up(mgr): 2 mgr.execute("alter table machines modify column hostname varchar(700);") 3 4def migrate_down(mgr): 5 mgr.execute("alter table machines modify column hostname varchar(100);") 6