Skip to content

Commit

Permalink
feat(ud): add new fields on inventory tables: node, arc, connec, gull…
Browse files Browse the repository at this point in the history
…y: 'placement_type'
  • Loading branch information
danimarinBG committed Aug 7, 2024
1 parent 9a48042 commit 45a1b62
Show file tree
Hide file tree
Showing 8 changed files with 2,217 additions and 1,746 deletions.
370 changes: 185 additions & 185 deletions ud/ftrg/ud_gw_trg_edit_arc.sql

Large diffs are not rendered by default.

310 changes: 155 additions & 155 deletions ud/ftrg/ud_gw_trg_edit_connec.sql

Large diffs are not rendered by default.

400 changes: 202 additions & 198 deletions ud/ftrg/ud_gw_trg_edit_gully.sql

Large diffs are not rendered by default.

378 changes: 189 additions & 189 deletions ud/ftrg/ud_gw_trg_edit_node.sql

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion updates/36/36012/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
- New function gw_fct_setpsectorcostremovedpipes (associated fid 523)
- Separate `archived_*` tables into 3 tables (archived_rpt_inp_*, archived_rpt_*, archived_rpt_*_stats)
- Remove duplicated vertex generated because of the fusion. Use st_removerepeatedpoints function for the new geom
- New view v_ext_municipality filtered by selected exploitations. Use it on search tool
- New view v_ext_municipality filtered by selected exploitations. Use it on search tool
- Add new fields on inventory tables for UD:
- node, arc, connec, gully: placement_type
20 changes: 20 additions & 0 deletions updates/36/36012/ud/ddl.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
This file is part of Giswater 3
The program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This version of Giswater is provided by Giswater Association
*/


SET search_path = SCHEMA_NAME, public, pg_catalog;

-- 07/08/2024
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD","table":"arc", "column":"placement_type", "dataType":"varchar(50)"}}$$);
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD","table":"node", "column":"placement_type", "dataType":"varchar(50)"}}$$);
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD","table":"connec", "column":"placement_type", "dataType":"varchar(50)"}}$$);
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD","table":"gully", "column":"placement_type", "dataType":"varchar(50)"}}$$);

SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD", "table":"audit_psector_arc_traceability", "column":"placement_type", "dataType":"varchar(50)"}}$$);
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD", "table":"audit_psector_node_traceability", "column":"placement_type", "dataType":"varchar(50)"}}$$);
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD", "table":"audit_psector_connec_traceability", "column":"placement_type", "dataType":"varchar(50)"}}$$);
SELECT gw_fct_admin_manage_fields($${"data":{"action":"ADD", "table":"audit_psector_gully_traceability", "column":"placement_type", "dataType":"varchar(50)"}}$$);

Loading

1 comment on commit 45a1b62

@danimarinBG
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.