From 1a0fa24188c1d07f7a9d1dd77defc8cfb4504e75 Mon Sep 17 00:00:00 2001 From: "edu.corral" Date: Wed, 26 Oct 2022 11:04:53 +0200 Subject: [PATCH] ent 7914 restore migration script --- .../extras/pandoradb_migrate_5.1_to_6.0.mysql.sql | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql index 61277636b7..579cf37b51 100644 --- a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql @@ -174,13 +174,11 @@ ALTER TABLE tagente_modulo ADD COLUMN `prediction_samples` int(4) default 0; ALTER TABLE tagente_modulo ADD COLUMN `prediction_threshold` int(4) default 0; ALTER TABLE tagente_modulo ADD COLUMN `percentage_critical` tinyint(1) UNSIGNED DEFAULT 0; ALTER TABLE tagente_modulo ADD COLUMN `percentage_warning` tinyint(1) UNSIGNED DEFAULT 0; -ALTER TABLE tagente_modulo ADD COLUMN `warning_time` int(10) UNSIGNED DEFAULT 0; -- --------------------------------------------------------------------- -- Table `tagente_estado` -- --------------------------------------------------------------------- ALTER TABLE tagente_estado ADD COLUMN `last_dynamic_update` bigint(20) NOT NULL default '0'; -ALTER TABLE tagente_estado ADD COLUMN `warning_count` int(10) UNSIGNED DEFAULT 0; -- --------------------------------------------------------------------- -- Table `tgraph_source` @@ -199,18 +197,15 @@ ALTER TABLE tevent_filter ADD COLUMN `id_agent` int(25) DEFAULT 0; -- --------------------------------------------------------------------- ALTER TABLE `tnetwork_component` ADD COLUMN `percentage_critical` tinyint(1) UNSIGNED DEFAULT 0; ALTER TABLE `tnetwork_component` ADD COLUMN `percentage_warning` tinyint(1) UNSIGNED DEFAULT 0; -ALTER TABLE `tnetwork_component` ADD COLUMN `warning_time` int(10) UNSIGNED DEFAULT 0; -- --------------------------------------------------------------------- -- Table `tevent_filter` -- --------------------------------------------------------------------- ALTER TABLE `tlocal_component` ADD COLUMN `percentage_critical` tinyint(1) UNSIGNED DEFAULT 0; ALTER TABLE `tlocal_component` ADD COLUMN `percentage_warning` tinyint(1) UNSIGNED DEFAULT 0; -ALTER TABLE `local_component` ADD COLUMN `warning_time` int(10) UNSIGNED DEFAULT 0; -- --------------------------------------------------------------------- -- Table `tevent_filter` -- --------------------------------------------------------------------- ALTER TABLE `tpolicy_modules` ADD COLUMN `percentage_critical` tinyint(1) UNSIGNED DEFAULT 0; ALTER TABLE `tpolicy_modules` ADD COLUMN `percentage_warning` tinyint(1) UNSIGNED DEFAULT 0; -ALTER TABLE `tpolicy_modules` ADD COLUMN `warning_time` int(10) UNSIGNED DEFAULT 0;