From 3b6c3d808f490e7f650da3bdbf9841238e83f530 Mon Sep 17 00:00:00 2001 From: mguzman14 Date: Tue, 20 Aug 2024 12:23:28 +0200 Subject: [PATCH] feat(sys_table): add new tables to sys_table --- updates/36/36012/ud/dml.sql | 8 +++++++- updates/36/36012/ws/dml.sql | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/updates/36/36012/ud/dml.sql b/updates/36/36012/ud/dml.sql index 24f5d6dce4..548f1ea0a2 100644 --- a/updates/36/36012/ud/dml.sql +++ b/updates/36/36012/ud/dml.sql @@ -159,4 +159,10 @@ VALUES('epa_toolbar', 'utils', 'v_ui_rpt_cat_result', 'iscorporate', 5, true, NU DELETE FROM sys_table WHERE id = 'v_anl_pgrouting_arc'; DELETE FROM sys_table WHERE id = 'v_anl_pgrouting_node'; -DELETE FROM sys_table WHERE id = 'v_edit_man_netelement'; \ No newline at end of file +DELETE FROM sys_table WHERE id = 'v_edit_man_netelement'; + +INSERT INTO sys_table (id, descript, sys_role, criticity, context, orderby, alias, notify_action, isaudit, keepauditdays, "source", style_id, addparam) +VALUES('minsector', 'Table of minsectors', 'role_edit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'core', NULL, NULL); + +INSERT INTO sys_table (id, descript, sys_role, criticity, context, orderby, alias, notify_action, isaudit, keepauditdays, "source", style_id, addparam) +VALUES('selector_muni', 'Selector of municipalities', 'role_basic', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'core', NULL, NULL); \ No newline at end of file diff --git a/updates/36/36012/ws/dml.sql b/updates/36/36012/ws/dml.sql index 22e5b83dea..9be3840830 100644 --- a/updates/36/36012/ws/dml.sql +++ b/updates/36/36012/ws/dml.sql @@ -181,6 +181,8 @@ INSERT INTO sys_style (idval, context, styletype) VALUES ('v_edit_connec', 'DMA' INSERT INTO sys_style (idval, context, styletype) VALUES ('v_edit_link', 'DMA', 'qml'); +INSERT INTO sys_table (id, descript, sys_role, criticity, context, orderby, alias, notify_action, isaudit, keepauditdays, "source", style_id, addparam) +VALUES('selector_muni', 'Selector of municipalities', 'role_basic', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'core', NULL, NULL);