Merge branch 'ent-4943-identificar-version-instalada-server-enterprise-e6-o-e7' into 'develop'

Increase the size of tserver.version.

See merge request artica/pandorafms!3368
This commit is contained in:
Daniel Rodriguez 2020-07-27 12:17:27 +02:00
commit 1f2e0e2d80
3 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ UPDATE `talert_commands` SET name='Monitoring Event' WHERE name='Pandora FM
ALTER TABLE `tservice_element` ADD COLUMN `rules` text; 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 `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; UPDATE `tservice` SET `auto_calculate`=0;

View File

@ -1271,6 +1271,7 @@ ALTER TABLE talert_snmp_action ADD COLUMN `al_field15` TEXT NOT NULL DEFAULT "";
-- ---------------------------------------------------------------------- -- ----------------------------------------------------------------------
ALTER TABLE tserver ADD COLUMN `server_keepalive` int(11) DEFAULT 0; ALTER TABLE tserver ADD COLUMN `server_keepalive` int(11) DEFAULT 0;
ALTER TABLE `tserver` MODIFY COLUMN `server_keepalive` int(11) NOT NULL DEFAULT '0'; ALTER TABLE `tserver` MODIFY COLUMN `server_keepalive` int(11) NOT NULL DEFAULT '0';
ALTER TABLE `tserver` MODIFY COLUMN `version` varchar(25) NOT NULL DEFAULT '';
-- ---------------------------------------------------------------------- -- ----------------------------------------------------------------------
-- Table `tagente_estado` -- Table `tagente_estado`

View File

@ -1073,7 +1073,7 @@ CREATE TABLE IF NOT EXISTS `tserver` (
`checksum` tinyint(3) unsigned NOT NULL default '0', `checksum` tinyint(3) unsigned NOT NULL default '0',
`description` varchar(255) default NULL, `description` varchar(255) default NULL,
`recon_server` tinyint(3) unsigned NOT NULL default '0', `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', `plugin_server` tinyint(3) unsigned NOT NULL default '0',
`prediction_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', `wmi_server` tinyint(3) unsigned NOT NULL default '0',