schema/mysql: allow for external zones
This commit is contained in:
parent
630e2f4ecc
commit
c20efcd761
|
@ -0,0 +1 @@
|
|||
ALTER TABLE icinga_zone MODIFY object_type ENUM('object', 'template', 'external_object') NOT NULL;
|
|
@ -148,7 +148,7 @@ CREATE TABLE icinga_zone (
|
|||
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
|
||||
parent_zone_id INT(10) UNSIGNED DEFAULT NULL,
|
||||
object_name VARCHAR(255) NOT NULL,
|
||||
object_type ENUM('object', 'template') NOT NULL,
|
||||
object_type ENUM('object', 'template', 'external_object') NOT NULL,
|
||||
is_global ENUM('y', 'n') NOT NULL DEFAULT 'n',
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE INDEX object_name (object_name),
|
||||
|
|
Loading…
Reference in New Issue