ws_audit_psector_connec_traceability - Giswater/giswater_dbmodel GitHub Wiki


Description:

Traceability table where information about connecs of executed or canceled psectors are stored. In the first rows you can find information from plan_psector_x_connec and after that an exact copy of the connec table.

Features on that table no longer exists on inventroy tables.

Node fields:

Column name Data type Description
id serial4 Id (automatically assigned on insert)
psector_id int4 Id of psector
psector_state int2 State of psector
doable bool If true, feature value enters into calculation of psector budget
psector_arc_id varchar(16) Id of arc's psector
link_id int4 Id of link
link_the_geom int4
audit_tstamp timestamp Date and time of audit data insert
audit_user text User that executed the action of change psector status
action varchar(16) Establish if the psector was Executed or Canceled