From 44fdf1c321b173b326f8988f55889e42606b8260 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Tue, 21 Jun 2022 16:31:56 +0200 Subject: [PATCH] #7926 Added asynchronous mode --- pandora_console/extras/mr/55.sql | 5 ++++- pandora_console/pandoradb.sql | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/extras/mr/55.sql b/pandora_console/extras/mr/55.sql index 246e8b641f..e8815a524f 100644 --- a/pandora_console/extras/mr/55.sql +++ b/pandora_console/extras/mr/55.sql @@ -35,7 +35,10 @@ ALTER TABLE `treset_pass` MODIFY COLUMN `id_user` VARCHAR(255) NOT NULL DEFAULT ALTER TABLE `tuser_task_scheduled` MODIFY COLUMN `id_usuario` VARCHAR(255) NOT NULL DEFAULT '0'; ALTER TABLE `tbackup` MODIFY COLUMN `id_user` VARCHAR(255) DEFAULT ''; -ALTER TABLE `tservice` ADD COLUMN `enable_sunburst` tinyint(1) NOT NULL default 0; +ALTER TABLE `tservice` ADD COLUMN `enable_sunburst` TINYINT NOT NULL DEFAULT 0; +ALTER TABLE `tservice` ADD COLUMN `asynchronous` TINYINT NOT NULL DEFAULT 0; +ALTER TABLE `tservice` ADD COLUMN `rca` TEXT; + ALTER TABLE `tdashboard` MODIFY `name` TEXT NOT NULL DEFAULT ''; ALTER TABLE `tagente` ADD COLUMN `satellite_server` INT NOT NULL default 0; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 100b83cf96..efd75f8c42 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -2819,6 +2819,8 @@ CREATE TABLE IF NOT EXISTS `tservice` ( `evaluate_sla` INT NOT NULL DEFAULT 0, `is_favourite` TINYINT NOT NULL DEFAULT 0, `enable_sunburst` TINYINT NOT NULL DEFAULT 0, + `asynchronous` TINYINT NOT NULL DEFAULT 0, + `rca` TEXT, PRIMARY KEY (`id`) ) ENGINE=InnoDB COMMENT = 'Table to define services to monitor'