From 0df437992620576bb80c57f29d13c08ef0904f43 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Tue, 30 Jan 2024 17:47:43 +0100 Subject: [PATCH] fixed database ncm info --- pandora_console/extras/mr/68.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/extras/mr/68.sql b/pandora_console/extras/mr/68.sql index 254cb2e7c1..b7aff681a9 100644 --- a/pandora_console/extras/mr/68.sql +++ b/pandora_console/extras/mr/68.sql @@ -10,5 +10,7 @@ ALTER TABLE `tusuario` CHANGE COLUMN `metaconsole_data_section` `metaconsole_dat ALTER TABLE `tmensajes` ADD COLUMN `icon_notification` VARCHAR(250) NULL DEFAULT NULL AFTER `url`; +UPDATE `tncm_template` SET `vendors` = CONCAT('["', TRIM(BOTH '"' FROM TRIM(BOTH ']' FROM TRIM(BOTH '[' FROM vendors))), '"]'), `models` = CONCAT('["', TRIM(BOTH '"' FROM TRIM(BOTH ']' FROM TRIM(BOTH '[' FROM models))), '"]'); +UPDATE `tncm_agent_data_template` SET `vendors` = CONCAT('["', TRIM(BOTH '"' FROM TRIM(BOTH ']' FROM TRIM(BOTH '[' FROM vendors))), '"]'), `models` = CONCAT('["', TRIM(BOTH '"' FROM TRIM(BOTH ']' FROM TRIM(BOTH '[' FROM models))), '"]'); COMMIT; \ No newline at end of file