1def migrate_up(manager): 2 manager.execute('ALTER TABLE hosts ADD `invalid` bool NOT NULL') 3 manager.execute('ALTER TABLE labels ADD `invalid` bool NOT NULL') 4 5 6def migrate_down(manager): 7 manager.execute('ALTER TABLE hosts DROP invalid') 8 manager.execute('ALTER TABLE labels DROP invalid') 9