mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
MySQL Schema: Change timeout datatype from medium- to smallint
This commit is contained in:
parent
110ecf65b8
commit
548de3a49c
1
schema/mysql-changes/upgrade_9.sql
Normal file
1
schema/mysql-changes/upgrade_9.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE icinga_command MODIFY timeout SMALLINT UNSIGNED DEFAULT NULL;
|
@ -174,7 +174,7 @@ CREATE TABLE icinga_command (
|
|||||||
command VARCHAR(255) DEFAULT NULL,
|
command VARCHAR(255) DEFAULT NULL,
|
||||||
-- env text DEFAULT NULL,
|
-- env text DEFAULT NULL,
|
||||||
-- vars text DEFAULT NULL,
|
-- vars text DEFAULT NULL,
|
||||||
timeout MEDIUMINT(10) UNSIGNED DEFAULT NULL,
|
timeout SMALLINT UNSIGNED DEFAULT NULL,
|
||||||
zone_id INT(10) UNSIGNED DEFAULT NULL,
|
zone_id INT(10) UNSIGNED DEFAULT NULL,
|
||||||
object_type ENUM('object', 'template', 'external_object') NOT NULL
|
object_type ENUM('object', 'template', 'external_object') NOT NULL
|
||||||
COMMENT 'external_object is an attempt to work with existing commands',
|
COMMENT 'external_object is an attempt to work with existing commands',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user