mysql/schema: allow longer commands

fixes #11023
This commit is contained in:
Thomas Gelf 2016-02-02 20:08:49 +01:00
parent f000059ab3
commit 0b36b39cf7
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
ALTER TABLE icinga_command MODIFY command TEXT DEFAULT NULL;

View File

@ -236,7 +236,7 @@ CREATE TABLE icinga_command (
id INT(10) UNSIGNED AUTO_INCREMENT NOT NULL,
object_name VARCHAR(255) NOT NULL,
methods_execute VARCHAR(64) DEFAULT NULL,
command VARCHAR(255) DEFAULT NULL,
command TEXT DEFAULT NULL,
-- env text DEFAULT NULL,
-- vars text DEFAULT NULL,
timeout SMALLINT UNSIGNED DEFAULT NULL,