summaryrefslogtreecommitdiffstats
path: root/schema/mysql-migrations/upgrade_152.sql
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--schema/mysql-migrations/upgrade_152.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/schema/mysql-migrations/upgrade_152.sql b/schema/mysql-migrations/upgrade_152.sql
new file mode 100644
index 0000000..91e8eea
--- /dev/null
+++ b/schema/mysql-migrations/upgrade_152.sql
@@ -0,0 +1,9 @@
+ALTER TABLE import_source
+ ADD UNIQUE INDEX source_name (source_name);
+
+ALTER TABLE sync_rule
+ ADD UNIQUE INDEX rule_name (rule_name);
+
+INSERT INTO director_schema_migration
+ (schema_version, migration_time)
+ VALUES (152, NOW());