Increase the size of tserver.version.

Ref pandora_enterprise#4943
This commit is contained in:
Ramon Novoa 2020-07-09 17:39:08 +02:00
parent ddc8a98dc0
commit 19a8288f26
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ START TRANSACTION;
ALTER TABLE `tservice_element` ADD COLUMN `rules` text;
ALTER TABLE `tservice` ADD COLUMN `unknown_as_critical` tinyint(1) NOT NULL default 0 AFTER `warning`;
ALTER TABLE `tserver` MODIFY COLUMN `version` varchar(25) NOT NULL DEFAULT '';
UPDATE `tservice` SET `auto_calculate`=0;

View File

@ -1073,7 +1073,7 @@ CREATE TABLE IF NOT EXISTS `tserver` (
`checksum` tinyint(3) unsigned NOT NULL default '0',
`description` varchar(255) default NULL,
`recon_server` tinyint(3) unsigned NOT NULL default '0',
`version` varchar(20) NOT NULL default '',
`version` varchar(25) NOT NULL default '',
`plugin_server` tinyint(3) unsigned NOT NULL default '0',
`prediction_server` tinyint(3) unsigned NOT NULL default '0',
`wmi_server` tinyint(3) unsigned NOT NULL default '0',