Constraints

46 Foreign Key Constraints

Constraint Name Child Column Parent Column Delete Rule
fk_structurelt4m_lookuptreespecies
structure_lt4m.tree_species
lookup_tree_species.abbreviation
Restrict delete
fk_structurelt4m_plot
structure_lt4m.plot_id
plot.id
Cascade on delete
fk_structurelt4m_plotlocation
structure_lt4m.plot_location_id
plot_location.id
Cascade on delete
fk_wzptree_stembreakage
wzp_tree.stem_breakage
lookup_stem_breakage.abbreviation
Restrict delete
fk_wzptree_prunging
wzp_tree.pruning
lookup_pruning.abbreviation
Restrict delete
fk_wzptree_treespecies
wzp_tree.tree_species
lookup_tree_species.abbreviation
Restrict delete
fk_wzptree_standlayer
wzp_tree.stand_layer
lookup_stand_layer.abbreviation
Restrict delete
fk_wzptree_treestatus
wzp_tree.tree_status
lookup_tree_status.abbreviation
Restrict delete
fk_wzptree_plot
wzp_tree.plot_id
plot.id
Cascade on delete
fk_wzptree_stemform
wzp_tree.stem_form
lookup_stem_form.abbreviation
Restrict delete
fk_position_lookupgnssquality
position.quality
lookup_gnss_quality.abbreviation
Restrict delete
fk_position_plotlocation
position.plot_location_id
plot_location.id
Cascade on delete
fk_position_plot
position.plot_id
plot.id
Cascade on delete
fk_tract_lookupstateresponsible
cluster.state_responsible
lookup_state.abbreviation
Restrict delete
fk_tract_lookupstate
cluster.state
lookup_state.abbreviation
Restrict delete
fk_cluster_user_id
cluster.supervisor_id
users.id
Restrict delete
fk_saplings2m_plotlocation
regeneration.plot_location_id
plot_location.id
Cascade on delete
fk_saplings2m_lookuptreesizeclass
regeneration.tree_size_class
lookup_tree_size_class.abbreviation
Restrict delete
fk_saplings2m_plot
regeneration.plot_id
plot.id
Cascade on delete
fk_saplings2m_lookuptreespecies
regeneration.tree_species
lookup_tree_species.abbreviation
Restrict delete
fk_saplings2m_lookupbrowsing
regeneration.browsing
lookup_browsing.abbreviation
Restrict delete
fk_deadwood_lookupdecomposition
deadwood.decomposition
lookup_decomposition.abbreviation
Restrict delete
fk_deadwood_lookupdeadwoodtype
deadwood.dead_wood_type
lookup_dead_wood_type.abbreviation
Restrict delete
fk_deadwood_plot
deadwood.plot_id
plot.id
Cascade on delete
fk_deadwood_lookuptreespeciesgroup
deadwood.tree_species_group
lookup_tree_species_group.abbreviation
Restrict delete
fk_plot_lookuptreesless4metermirrored
plot.trees_less_4meter_mirrored
lookup_trees_less_4meter_mirrored.abbreviation
Restrict delete
fk_plot_cluster
plot.cluster_id
cluster.id
Cascade on delete
fk_plot_lookupelevationlevel
plot.elevation_level
lookup_elevation_level.abbreviation
Restrict delete
fk_plot_lookupstandstructure
plot.stand_structure
lookup_stand_structure.abbreviation
Restrict delete
fk_plot_lookupforeststatus
plot.forest_status
lookup_forest_status.abbreviation
Restrict delete
fk_plot_lookupmanagementtype
plot.management_type
lookup_management_type.abbreviation
Restrict delete
fk_plot_lookupgrowthdistrict
plot.growth_district
lookup_growth_district.abbreviation
Restrict delete
fk_plot_lookupterrainform
plot.terrain_form
lookup_terrain_form.abbreviation
Restrict delete
fk_plot_lookupmarkerstatus
plot.marker_status
lookup_marker_status.abbreviation
Restrict delete
fk_plot_lookuppropertytype
plot.property_type
lookup_property_type.abbreviation
Restrict delete
fk_plot_lookuppropertysizeclass
plot.property_size_class
lookup_property_size_class.abbreviation
Restrict delete
fk_plot_lookupmarkerprofile
plot.marker_profile
lookup_marker_profile.abbreviation
Restrict delete
fk_plot_lookupstanddevphase
plot.stand_dev_phase
lookup_stand_dev_phase.abbreviation
Restrict delete
fk_plot_lookupharvestingmethod
plot.harvesting_method
lookup_harvesting_method.abbreviation
Restrict delete
fk_plot_lookupstandlayer
plot.stand_layer_reg
lookup_stand_layer.abbreviation
Restrict delete
fk_plot_lookuplanduse
plot.land_use_after
lookup_land_use.abbreviation
Restrict delete
fk_edge_lookupedgetype
edges.edge_type
lookup_edge_type.abbreviation
Restrict delete
fk_edge_lookupterrain
edges.terrain
lookup_terrain.abbreviation
Restrict delete
fk_edge_lookupedgestatus
edges.edge_status
lookup_edge_status.abbreviation
Restrict delete
fk_edges_plot
edges.plot_id
plot.id
Cascade on delete
fk_plot_location_plot_id
plot_location.plot_id
plot.id
Cascade on delete

Check Constraints

Table Constraint Name Constraint
cluster check_select_access_by_emails_constraint (private_ci2027_001.check_select_access_by_emails(select_access_by))
cluster check_update_access_by_emails_constraint (private_ci2027_001.check_select_access_by_emails(update_access_by))
edges ck_edges_geometry (st_isvalid(geometry))