mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
schema/mysql: allow null values for use_agent
This commit is contained in:
parent
ff5ebdab53
commit
06ea68f0e9
2 changed files with 3 additions and 1 deletions
2
schema/mysql-changes/upgrade_60.sql
Normal file
2
schema/mysql-changes/upgrade_60.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE icinga_service MODIFY COLUMN use_agent ENUM('y', 'n') DEFAULT NULL;
|
||||
|
||||
|
|
@ -508,7 +508,7 @@ CREATE TABLE icinga_service (
|
|||
icon_image VARCHAR(255) DEFAULT NULL,
|
||||
icon_image_alt VARCHAR(255) DEFAULT NULL,
|
||||
object_type ENUM('object', 'template', 'apply') NOT NULL,
|
||||
use_agent ENUM('y', 'n') NOT NULL DEFAULT 'n',
|
||||
use_agent ENUM('y', 'n') DEFAULT NULL,
|
||||
PRIMARY KEY (id),
|
||||
-- UNIQUE INDEX object_name (object_name, zone_id),
|
||||
UNIQUE KEY object_key (object_name, host_id),
|
||||
|
|
|
|||
Loading…
Reference in a new issue