blob: a710a62b64209e742df743d94a40731a238d7ce9 [file] [log] [blame] [edit]
UP_SQL = """
ALTER TABLE `host_queue_entries` DROP COLUMN `priority`;
"""
DOWN_SQL = """
ALTER TABLE `host_queue_entries` ADD COLUMN `priority` int(11) default NULL
"""
def migrate_up(manager):
manager.execute_script(UP_SQL)
def migrate_down(manager):
manager.execute_script(DOWN_SQL)