blob: 05d3210f2491c5cb73c63e7b5f0d1900ddeaeb8c [file] [log] [blame] [edit]
UP_SQL = """
ALTER TABLE tko_test_labels
ADD CONSTRAINT tko_test_labels_unique
UNIQUE INDEX (name);
INSERT IGNORE INTO tko_test_labels (name, description)
VALUES ('invalidated', '');
"""
DOWN_SQL = """
ALTER TABLE tko_test_labels
DROP INDEX tko_test_labels_unique;
"""