Skip to content

Commit

Permalink
feat(views): remove deprecated views
Browse files Browse the repository at this point in the history
  • Loading branch information
mguzman14 committed Aug 20, 2024
1 parent 6e613fd commit ffbc243
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions updates/36/36012/ud/ddlview.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4395,3 +4395,6 @@ CREATE OR REPLACE VIEW v_edit_raingage AS
WHERE raingage.expl_id = selector_expl.expl_id AND selector_expl.cur_user = "current_user"()::text
AND (m.cur_user = current_user or raingage.muni_id is null);


DROP VIEW IF EXISTS v_anl_pgrouting_arc;
DROP VIEW IF EXISTS v_anl_pgrouting_node;
6 changes: 6 additions & 0 deletions updates/36/36012/ud/dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,9 @@ UPDATE config_form_tableview SET columnindex=4 WHERE objectname='v_ui_rpt_cat_re
UPDATE config_form_tableview SET columnindex=6 WHERE objectname='v_ui_rpt_cat_result' AND columnname='descript';
INSERT INTO config_form_tableview (location_type, project_type, objectname, columnname, columnindex, visible, width, alias, "style", addparam)
VALUES('epa_toolbar', 'utils', 'v_ui_rpt_cat_result', 'iscorporate', 5, true, NULL, NULL, NULL, NULL);


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';
1 change: 0 additions & 1 deletion utils/fct/gw_fct_admin_schema_lastprocess.sql
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ BEGIN
DROP VIEW IF EXISTS v_edit_man_hydrant;
DROP VIEW IF EXISTS v_edit_man_junction;
DROP VIEW IF EXISTS v_edit_man_meter;
DROP VIEW IF EXISTS v_edit_man_netelement;
DROP VIEW IF EXISTS v_edit_man_netsamplepoint;
DROP VIEW IF EXISTS v_edit_man_netwjoin;
DROP VIEW IF EXISTS v_edit_man_pump;
Expand Down

0 comments on commit ffbc243

Please sign in to comment.