schema/mysql: case sensitive command argument name

This commit is contained in:
Thomas Gelf 2015-12-01 10:54:23 +01:00
parent 80d68adcda
commit ccf3092b5d
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE icinga_command_argument MODIFY argument_name VARCHAR(64) COLLATE utf8_bin DEFAULT NULL COMMENT '-x, --host';

View File

@ -268,7 +268,7 @@ CREATE TABLE icinga_command_inheritance (
CREATE TABLE icinga_command_argument (
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
command_id INT(10) UNSIGNED NOT NULL,
argument_name VARCHAR(64) DEFAULT NULL COMMENT '-x, --host',
argument_name VARCHAR(64) COLLATE utf8_bin DEFAULT NULL COMMENT '-x, --host';
argument_value TEXT DEFAULT NULL,
argument_format ENUM('string', 'expression', 'json') NULL DEFAULT NULL,
key_string VARCHAR(64) DEFAULT NULL COMMENT 'Overrides name',