1 UP_SQL = """ 2 ALTER TABLE `host_queue_entries` DROP COLUMN `priority`; 3 """ 4 5 DOWN_SQL = """ 6 ALTER TABLE `host_queue_entries` ADD COLUMN `priority` int(11) default NULL 7 """ 8 9 def migrate_up(manager): 10 manager.execute_script(UP_SQL) 11 12 13 def migrate_down(manager): 14 manager.execute_script(DOWN_SQL) 15