From 5964cdecc01195dc79ec14a8c2f2bccacde7eb1c Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 9 Aug 2023 11:55:37 +0200 Subject: [PATCH] #10598 fix error sql on create web and check web --- pandora_console/extras/mr/65.sql | 1 + pandora_console/pandoradb.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/pandora_console/extras/mr/65.sql b/pandora_console/extras/mr/65.sql index 563d00e82c..cb361c36c7 100644 --- a/pandora_console/extras/mr/65.sql +++ b/pandora_console/extras/mr/65.sql @@ -74,6 +74,7 @@ ALTER TABLE `tagente_modulo` ADD COLUMN `quiet_by_downtime` TINYINT NOT NULL DEF ALTER TABLE `tagente_modulo` ADD COLUMN `disabled_by_downtime` TINYINT NOT NULL DEFAULT 0; ALTER TABLE `talert_template_modules` ADD COLUMN `disabled_by_downtime` TINYINT NOT NULL DEFAULT 0; ALTER TABLE `tagente` ADD COLUMN `disabled_by_downtime` TINYINT NOT NULL DEFAULT 0; +ALTER TABLE `tmetaconsole_agent` ADD COLUMN `disabled_by_downtime` TINYINT NOT NULL DEFAULT 0; DELETE FROM tconfig WHERE token = 'refr'; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index d3f1cd9339..0056868752 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -3472,6 +3472,7 @@ CREATE TABLE IF NOT EXISTS `tmetaconsole_agent` ( `cps` INT NOT NULL DEFAULT 0, `satellite_server` INT NOT NULL DEFAULT 0, `fixed_ip` TINYINT NOT NULL DEFAULT 0, + `disabled_by_downtime` TINYINT NOT NULL DEFAULT 0, PRIMARY KEY (`id_agente`), KEY `nombre` (`nombre`(255)), KEY `direccion` (`direccion`),