icingaweb2-module-director/schema/mysql-legacy-changes/upgrade_35.sql

7 lines
346 B
SQL

ALTER TABLE icinga_command_argument DROP COLUMN value_format, ADD COLUMN argument_format ENUM('string', 'expression', 'json') NOT NULL DEFAULT 'string' AFTER argument_value;
ALTER TABLE icinga_command_argument DEFAULT COLLATE utf8_bin;
ALTER TABLE icinga_command_argument MODIFY COLUMN argument_name VARCHAR(64) DEFAULT NULL COLLATE utf8_bin;