1def migrate_up(manager): 2 manager.execute("ALTER TABLE tests MODIFY invalid TINYINT(1) DEFAULT 0") 3 4 5def migrate_down(manager): 6 manager.execute("ALTER TABLE tests MODIFY invalid TINYINT(1) DEFAULT NULL") 7