schema: allow for longer stage names

Valid host names could have 64 characters, stage names are longer
This commit is contained in:
Thomas Gelf 2015-12-02 15:24:17 +01:00
parent f4e9ff14cf
commit e45cb51031
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
ALTER TABLE director_deployment_log MODIFY stage_name VARCHAR(96) DEFAULT NULL;

View File

@ -84,7 +84,7 @@ CREATE TABLE director_deployment_log (
COMMENT 'The time it took to connect to an Icinga node (ms)',
duration_dump INT(10) UNSIGNED DEFAULT NULL
COMMENT 'Time spent dumping the config (ms)',
stage_name VARCHAR(64) DEFAULT NULL,
stage_name VARCHAR(96) DEFAULT NULL,
stage_collected ENUM('y', 'n') DEFAULT NULL,
connection_succeeded ENUM('y', 'n') DEFAULT NULL,
dump_succeeded ENUM('y', 'n') DEFAULT NULL,