summaryrefslogtreecommitdiffstats
path: root/schema/mysql-migrations/upgrade_156.sql
diff options
context:
space:
mode:
Diffstat (limited to 'schema/mysql-migrations/upgrade_156.sql')
-rw-r--r--schema/mysql-migrations/upgrade_156.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/schema/mysql-migrations/upgrade_156.sql b/schema/mysql-migrations/upgrade_156.sql
new file mode 100644
index 0000000..cd13edf
--- /dev/null
+++ b/schema/mysql-migrations/upgrade_156.sql
@@ -0,0 +1,7 @@
+ALTER TABLE icinga_command
+ DROP INDEX object_name,
+ADD UNIQUE INDEX object_name (object_name);
+
+INSERT INTO director_schema_migration
+ (schema_version, migration_time)
+ VALUES (156, NOW());