MySQL Schema: Add object_type to servicegroup
This commit is contained in:
parent
0459ec95f9
commit
b0e666ab61
|
@ -0,0 +1 @@
|
|||
ALTER TABLE icinga_servicegroup ADD COLUMN object_type ENUM('object', 'template') NOT NULL AFTER display_name;
|
|
@ -427,6 +427,7 @@ CREATE TABLE icinga_servicegroup (
|
|||
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
|
||||
object_name VARCHAR(255) DEFAULT NULL,
|
||||
display_name VARCHAR(255) DEFAULT NULL,
|
||||
object_type ENUM('object', 'template') NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE INDEX object_name (object_name),
|
||||
KEY search_idx (display_name)
|
||||
|
|
Loading…
Reference in New Issue