mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
MySQL Schema: Drop service object_name index
This commit is contained in:
parent
a9b9342092
commit
fe1994000f
1
schema/mysql-changes/upgrade_7.sql
Normal file
1
schema/mysql-changes/upgrade_7.sql
Normal file
@ -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…
x
Reference in New Issue
Block a user