mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
schema/mysql: allow argument format to be null
This commit is contained in:
parent
4875c2813d
commit
80d68adcda
1
schema/mysql-changes/upgrade_45.sql
Normal file
1
schema/mysql-changes/upgrade_45.sql
Normal file
@ -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…
x
Reference in New Issue
Block a user