schema/mysql: drop uniqueness on property modifiers
I hate doing so :-/ fixes #1187
This commit is contained in:
parent
19537463c1
commit
b9aea20bab
|
@ -0,0 +1,7 @@
|
|||
ALTER TABLE import_row_modifier
|
||||
ADD INDEX source_id (source_id),
|
||||
DROP INDEX idx_prio;
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (145, NOW());
|
|
@ -1287,7 +1287,6 @@ CREATE TABLE import_row_modifier (
|
|||
description TEXT DEFAULT NULL,
|
||||
PRIMARY KEY (id),
|
||||
KEY search_idx (property_name),
|
||||
UNIQUE INDEX idx_prio (source_id, priority),
|
||||
CONSTRAINT row_modifier_import_source
|
||||
FOREIGN KEY source (source_id)
|
||||
REFERENCES import_source (id)
|
||||
|
@ -1665,4 +1664,4 @@ CREATE TABLE icinga_dependency_states_set (
|
|||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (144, NOW());
|
||||
VALUES (145, NOW());
|
||||
|
|
Loading…
Reference in New Issue