schema/mysql: allow argument format to be null
This commit is contained in:
parent
4875c2813d
commit
80d68adcda
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE icinga_command_argument MODIFY argument_format ENUM('string','expression','json') NULL DEFAULT NULL;
|
|
@ -270,7 +270,7 @@ CREATE TABLE icinga_command_argument (
|
||||||
command_id INT(10) UNSIGNED NOT NULL,
|
command_id INT(10) UNSIGNED NOT NULL,
|
||||||
argument_name VARCHAR(64) DEFAULT NULL COMMENT '-x, --host',
|
argument_name VARCHAR(64) DEFAULT NULL COMMENT '-x, --host',
|
||||||
argument_value TEXT DEFAULT NULL,
|
argument_value TEXT DEFAULT NULL,
|
||||||
argument_format ENUM('string', 'expression', 'json') NOT NULL DEFAULT 'string',
|
argument_format ENUM('string', 'expression', 'json') NULL DEFAULT NULL,
|
||||||
key_string VARCHAR(64) DEFAULT NULL COMMENT 'Overrides name',
|
key_string VARCHAR(64) DEFAULT NULL COMMENT 'Overrides name',
|
||||||
description TEXT DEFAULT NULL,
|
description TEXT DEFAULT NULL,
|
||||||
skip_key ENUM('y', 'n') DEFAULT NULL,
|
skip_key ENUM('y', 'n') DEFAULT NULL,
|
||||||
|
|
Loading…
Reference in New Issue