MySQL Schema: Drop service object_name index
This commit is contained in:
parent
a9b9342092
commit
fe1994000f
|
@ -0,0 +1 @@
|
|||
ALTER TABLE icinga_service DROP INDEX object_name;
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue