From c1dd5d39c5bfa6064d8a4787232c9e6eaab75725 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Fri, 2 Jun 2023 13:03:20 +0200 Subject: [PATCH 1/2] #11446 Add column in tlayout_template_data --- pandora_console/extras/mr/64.sql | 3 +++ pandora_console/pandoradb.sql | 1 + 2 files changed, 4 insertions(+) diff --git a/pandora_console/extras/mr/64.sql b/pandora_console/extras/mr/64.sql index 272f0848b2..f1dc8afc4c 100644 --- a/pandora_console/extras/mr/64.sql +++ b/pandora_console/extras/mr/64.sql @@ -71,6 +71,9 @@ WHERE name='Cisco _nameOID_ power state'; ALTER TABLE `tlayout_data` ADD COLUMN `recursive_group` TINYINT NOT NULL DEFAULT '0' AFTER `fill_color`; +ALTER TABLE `tlayout_template_data` +ADD COLUMN `recursive_group` TINYINT NOT NULL DEFAULT '0' AFTER `fill_color`; + ALTER TABLE `tusuario` ADD COLUMN `metaconsole_section` VARCHAR(255) NOT NULL DEFAULT 'Default' AFTER `data_section`; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 8d1ef299df..8416e1d2ec 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -3696,6 +3696,7 @@ CREATE TABLE IF NOT EXISTS `tlayout_template_data` ( `label_position` VARCHAR(50) NOT NULL DEFAULT 'down', `border_color` VARCHAR(200) DEFAULT '', `fill_color` VARCHAR(200) DEFAULT '', + `recursive_group` TINYINT NOT NULL DEFAULT '0' AFTER `fill_color`, `show_statistics` TINYINT NOT NULL DEFAULT 0, `linked_layout_node_id` INT NOT NULL DEFAULT 0, `linked_layout_status_type` ENUM ('default', 'weight', 'service') DEFAULT 'default', From 6c4ee040ff8fc7dc8c54d809cdeef621f229ab57 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Fri, 2 Jun 2023 13:05:15 +0200 Subject: [PATCH 2/2] #11446 Fix create table --- pandora_console/pandoradb.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 8416e1d2ec..8706e37fed 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -3696,7 +3696,7 @@ CREATE TABLE IF NOT EXISTS `tlayout_template_data` ( `label_position` VARCHAR(50) NOT NULL DEFAULT 'down', `border_color` VARCHAR(200) DEFAULT '', `fill_color` VARCHAR(200) DEFAULT '', - `recursive_group` TINYINT NOT NULL DEFAULT '0' AFTER `fill_color`, + `recursive_group` TINYINT NOT NULL DEFAULT '0', `show_statistics` TINYINT NOT NULL DEFAULT 0, `linked_layout_node_id` INT NOT NULL DEFAULT 0, `linked_layout_status_type` ENUM ('default', 'weight', 'service') DEFAULT 'default',