mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
schema/mysql: allow argument format to be null
This commit is contained in:
parent
4875c2813d
commit
80d68adcda
2 changed files with 2 additions and 1 deletions
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,
|
||||
argument_name VARCHAR(64) DEFAULT NULL COMMENT '-x, --host',
|
||||
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',
|
||||
description TEXT DEFAULT NULL,
|
||||
skip_key ENUM('y', 'n') DEFAULT NULL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue