• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1UP_SQL = """
2ALTER TABLE tko_test_labels
3ADD CONSTRAINT tko_test_labels_unique
4UNIQUE INDEX (name);
5
6INSERT IGNORE INTO tko_test_labels (name, description)
7VALUES ('invalidated', '');
8"""
9
10DOWN_SQL = """
11ALTER TABLE tko_test_labels
12DROP INDEX tko_test_labels_unique;
13"""
14