mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-22 21:34:29 +02:00
schema/mysql: allow for external zones
This commit is contained in:
parent
630e2f4ecc
commit
c20efcd761
1
schema/mysql-changes/upgrade_48.sql
Normal file
1
schema/mysql-changes/upgrade_48.sql
Normal file
@ -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…
x
Reference in New Issue
Block a user