Table sola.administrative.party_for_rrr
Identifies the parties involved in each RRR. Also identifies the share each party has in the RRR if the RRR is subject to shared allocation.
Tags: FLOSS SOLA Extension, Change History

Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
rrr_id varchar 40
rrr.id party_for_rrr_rrr_id_fk81 C
rrr_share.rrr_id party_for_rrr_rrr_id_fk80 C
Identifier for the RRR.
party_id varchar 40
party.id party_for_rrr_party_id_fk82 C
Identifier for the party associated to the RRR.
share_id varchar 40  √  null
rrr_share.id party_for_rrr_rrr_id_fk80 C
Identifier for the share the party has in the RRR. Not populated unless the RRR is subject to a shared allocation. E.g. Mortgage RRR does not have shares.
rowidentifier varchar 40 uuid_generate_v1() Identifies the all change records for the row in the party_for_rrr_historic table
rowversion int4 10 0 Sequential value indicating the number of times this row has been modified.
change_action bpchar 1 'i'::bpchar Indicates if the last data modification action that occurred to the row was insert (i), update (u) or delete (d).
change_user varchar 50  √  null The user id of the last person to modify the row.
change_time timestamp 29,6 now() The date and time the row was last modified.

Analyzed at Tue May 31 09:56 NZST 2016

Indexes:
Column(s) Type Sort Constraint Name
rrr_id + party_id Primary key Asc/Asc party_for_rrr_pkey
rowidentifier Performance Asc party_for_rrr_index_on_rowidentifier
party_id Performance Asc party_for_rrr_party_id_fk82_ind
rrr_id + share_id Performance Asc/Asc party_for_rrr_rrr_id_fk80_ind
rrr_id Performance Asc party_for_rrr_rrr_id_fk81_ind

Close relationships  within of separation:

Excluded from diagram's relationships: notation.rowidentifier  source_describes_ba_unit.rowidentifier  required_relationship_baunit.change_action  source_describes_rrr.change_time  source_describes_ba_unit.change_action  source_describes_rrr.rowversion  mortgage_isbased_in_rrr.change_user  notifiable_party_for_baunit.change_time  condition_for_rrr.change_action  rrr.rowidentifier  ba_unit_contains_spatial_unit.rowversion  source_describes_rrr.change_user  mortgage_isbased_in_rrr.rowversion  rrr_share.change_time  source_describes_rrr.rowidentifier  notation.change_action  rrr_share.change_action  mortgage_isbased_in_rrr.change_action  ba_unit.rowversion  ba_unit_target.change_time  notation.change_time  notation.rowversion  rrr_share.rowidentifier  rrr.change_action  ba_unit.change_user  source_describes_ba_unit.rowversion  required_relationship_baunit.rowversion  rrr_share.change_user  condition_for_rrr.change_time  required_relationship_baunit.rowidentifier  rrr_share.rowversion  condition_for_rrr.rowidentifier  source_describes_rrr.change_action  ba_unit_contains_spatial_unit.rowidentifier  notifiable_party_for_baunit.rowversion  condition_for_rrr.rowversion  ba_unit_contains_spatial_unit.change_user  ba_unit_contains_spatial_unit.change_time  ba_unit_target.change_user  required_relationship_baunit.change_time  condition_for_rrr.change_user  ba_unit.change_time  ba_unit_area.rowidentifier  source_describes_ba_unit.change_time  rrr.change_time  notation.change_user  ba_unit_target.rowversion  ba_unit.rowidentifier  ba_unit_area.rowversion  rrr.rowversion  ba_unit_as_party.rowidentifier  ba_unit_target.rowidentifier  ba_unit_area.change_user  source_describes_ba_unit.change_user  mortgage_isbased_in_rrr.rowidentifier  ba_unit_area.change_action  rrr.change_user  ba_unit.change_action  required_relationship_baunit.change_user  notifiable_party_for_baunit.rowidentifier  ba_unit_area.change_time  ba_unit_target.change_action  ba_unit_contains_spatial_unit.change_action  notifiable_party_for_baunit.change_user  notifiable_party_for_baunit.change_action  mortgage_isbased_in_rrr.change_time