blob: 146760472864e17fc2516e165aac5c0d8fdf3313 [file] [log] [blame]
UP_SQL = """
ALTER TABLE labels MODIFY name VARCHAR(255) UNIQUE;
"""
DOWN_SQL = """
ALTER TABLE labels MODIFY name VARCHAR(255);
"""
def migrate_up(manager):
manager.execute_script(UP_SQL)
def migrate_down(manager):
manager.execute_script(DOWN_SQL)