Skip to content

Commit 3b6c3d8

Browse files
committed
feat(sys_table): add new tables to sys_table
1 parent ffbc243 commit 3b6c3d8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

updates/36/36012/ud/dml.sql

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,10 @@ VALUES('epa_toolbar', 'utils', 'v_ui_rpt_cat_result', 'iscorporate', 5, true, NU
159159
DELETE FROM sys_table WHERE id = 'v_anl_pgrouting_arc';
160160
DELETE FROM sys_table WHERE id = 'v_anl_pgrouting_node';
161161

162-
DELETE FROM sys_table WHERE id = 'v_edit_man_netelement';
162+
DELETE FROM sys_table WHERE id = 'v_edit_man_netelement';
163+
164+
INSERT INTO sys_table (id, descript, sys_role, criticity, context, orderby, alias, notify_action, isaudit, keepauditdays, "source", style_id, addparam)
165+
VALUES('minsector', 'Table of minsectors', 'role_edit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'core', NULL, NULL);
166+
167+
INSERT INTO sys_table (id, descript, sys_role, criticity, context, orderby, alias, notify_action, isaudit, keepauditdays, "source", style_id, addparam)
168+
VALUES('selector_muni', 'Selector of municipalities', 'role_basic', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'core', NULL, NULL);

updates/36/36012/ws/dml.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ INSERT INTO sys_style (idval, context, styletype) VALUES ('v_edit_connec', 'DMA'
181181
INSERT INTO sys_style (idval, context, styletype) VALUES ('v_edit_link', 'DMA', 'qml');
182182

183183

184+
INSERT INTO sys_table (id, descript, sys_role, criticity, context, orderby, alias, notify_action, isaudit, keepauditdays, "source", style_id, addparam)
185+
VALUES('selector_muni', 'Selector of municipalities', 'role_basic', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'core', NULL, NULL);
184186

185187

186188

0 commit comments

Comments
 (0)