summaryrefslogtreecommitdiffstats
path: root/schema/mysql-legacy-changes/upgrade_61.sql
diff options
context:
space:
mode:
Diffstat (limited to 'schema/mysql-legacy-changes/upgrade_61.sql')
-rw-r--r--schema/mysql-legacy-changes/upgrade_61.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/schema/mysql-legacy-changes/upgrade_61.sql b/schema/mysql-legacy-changes/upgrade_61.sql
new file mode 100644
index 0000000..50d62fd
--- /dev/null
+++ b/schema/mysql-legacy-changes/upgrade_61.sql
@@ -0,0 +1,2 @@
+ALTER TABLE icinga_host DROP KEY object_name, ADD UNIQUE KEY object_name (object_name);
+