schema: add apply_to column, got forgotten

This commit is contained in:
Thomas Gelf 2018-06-15 12:05:52 +02:00
parent d53174391d
commit 2b8d2b4569
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ CREATE TABLE icinga_scheduled_downtime (
zone_id INT(10) UNSIGNED DEFAULT NULL,
object_type ENUM('object', 'template', 'apply') NOT NULL,
disabled ENUM('y', 'n') NOT NULL DEFAULT 'n',
apply_to ENUM('host', 'service') DEFAULT NULL,
assign_filter TEXT DEFAULT NULL,
author VARCHAR(255) DEFAULT NULL,
comment TEXT DEFAULT NULL,

View File

@ -5,6 +5,7 @@ CREATE TABLE icinga_scheduled_downtime (
zone_id integer DEFAULT NULL,
object_type enum_object_type_all NOT NULL,
disabled enum_boolean NOT NULL DEFAULT 'n',
apply_to enum_host_service NULL DEFAULT NULL,
assign_filter text DEFAULT NULL,
author character varying(255) DEFAULT NULL,
comment text DEFAULT NULL,