diff --git a/schema/mysql-changes/upgrade_7.sql b/schema/mysql-changes/upgrade_7.sql new file mode 100644 index 00000000..38780b2d --- /dev/null +++ b/schema/mysql-changes/upgrade_7.sql @@ -0,0 +1 @@ +ALTER TABLE icinga_service DROP INDEX object_name; \ No newline at end of file diff --git a/schema/mysql.sql b/schema/mysql.sql index 9364e485..4379c7b6 100644 --- a/schema/mysql.sql +++ b/schema/mysql.sql @@ -359,7 +359,7 @@ CREATE TABLE icinga_service ( icon_image_alt VARCHAR(255) DEFAULT NULL, object_type ENUM('object', 'template', 'apply') NOT NULL, PRIMARY KEY (id), - UNIQUE INDEX object_name (object_name, zone_id), + -- UNIQUE INDEX object_name (object_name, zone_id), CONSTRAINT icinga_service_zone FOREIGN KEY zone (zone_id) REFERENCES icinga_zone (id)