Merge pull request #167 from Icinga/bugfix/schema-increase-max-command-argument-amount

Schema: Change *command_argument.argument_order from tinyint to smallint
This commit is contained in:
Alexander Aleksandrovič Klimov 2020-04-24 10:11:04 +02:00 committed by GitHub
commit aa41c6c851
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -378,7 +378,7 @@ CREATE TABLE checkcommand_argument (
properties_checksum binary(20) NOT NULL COMMENT 'sha1(all properties)',
argument_value text DEFAULT NULL,
argument_order tinyint DEFAULT NULL,
argument_order smallint DEFAULT NULL,
description text DEFAULT NULL,
argument_key_override varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
repeat_key enum('y','n') NOT NULL,
@ -437,7 +437,7 @@ CREATE TABLE eventcommand_argument (
properties_checksum binary(20) NOT NULL COMMENT 'sha1(all properties)',
argument_value text DEFAULT NULL,
argument_order tinyint DEFAULT NULL,
argument_order smallint DEFAULT NULL,
description text DEFAULT NULL,
argument_key_override varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
repeat_key enum('y','n') NOT NULL,
@ -495,7 +495,7 @@ CREATE TABLE notificationcommand_argument (
properties_checksum binary(20) NOT NULL COMMENT 'sha1(all properties)',
argument_value text DEFAULT NULL,
argument_order tinyint DEFAULT NULL,
argument_order smallint DEFAULT NULL,
description text DEFAULT NULL,
argument_key_override varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
repeat_key enum('y','n') NOT NULL,