From f985e70c06aee90c372432b351b8138ade9c09ee Mon Sep 17 00:00:00 2001 From: Albert Bofill Date: Tue, 24 Dec 2024 17:11:28 +0100 Subject: [PATCH] fix(updates): delete child views before drop serial_number --- updates/36/36016/ud/ddl.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/updates/36/36016/ud/ddl.sql b/updates/36/36016/ud/ddl.sql index d8f41ce5d5..affc3f84f9 100644 --- a/updates/36/36016/ud/ddl.sql +++ b/updates/36/36016/ud/ddl.sql @@ -19,6 +19,9 @@ update node n set serial_number = a.serial_number from ( select node_id, serial_number from man_netelement )a where n.node_id = a.node_id; +SELECT gw_fct_admin_manage_child_views($${"client":{"device":4, "infoType":1, "lang":"ES"}, "form":{}, "feature":{}, + "data":{"filterFields":{}, "pageInfo":{}, "action":"MULTI-DELETE" }}$$); + SELECT gw_fct_admin_manage_fields($${"data":{"action":"DROP","table":"man_netelement", "column":"serial_number"}}$$); SELECT gw_fct_admin_manage_fields($${"data":{"action":"RENAME","table":"cat_arc", "column":"brand", "newName":"brand_id"}}$$);