mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
psql: update schema for global zones
This commit is contained in:
parent
b26172e0e9
commit
2ea2e51e00
2
schema/pgsql-changes/upgrade-2.sql
Normal file
2
schema/pgsql-changes/upgrade-2.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE icinga_zone ADD is_global enum_boolean NOT NULL DEFAULT 'n';
|
||||
|
@ -165,6 +165,7 @@ CREATE TABLE icinga_zone (
|
||||
parent_zone_id integer DEFAULT NULL,
|
||||
object_name character varying(255) NOT NULL UNIQUE,
|
||||
object_type enum_object_type NOT NULL,
|
||||
is_global enum_boolean NOT NULL DEFAULT 'n',
|
||||
PRIMARY KEY (id),
|
||||
CONSTRAINT icinga_zone_parent_zone
|
||||
FOREIGN KEY (parent_zone_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user