73 Foreign Key Constraints
Constraint Name | Child Column | Parent Column | Delete Rule | ||||
---|---|---|---|---|---|---|---|
batch_data_source_batch_fk |
|
|
Restrict delete | ||||
data_source_data_source_batch_fk |
|
|
Restrict delete | ||||
batch_sample_analyte_determination_fk |
|
|
Restrict delete | ||||
reference_work_analyte_determination_fk |
|
|
Restrict delete | ||||
analyte_determination_limit_analyte_determination_fk |
|
|
Restrict delete | ||||
batch_batch_sample_fk |
|
|
Restrict delete | ||||
sample_batch_sample_fk |
|
|
Restrict delete | ||||
person_geol_context_provided_by_fk |
|
|
Restrict delete | ||||
geol_context_geol_context_provided_by_fk |
|
|
Restrict delete | ||||
dic_continent_dic_country_fk |
|
|
Restrict delete | ||||
biostrat_dic_biostrat_fk |
|
|
Restrict delete | ||||
institution_storage_fk |
|
|
Restrict delete | ||||
person_contact_person |
|
|
Restrict delete | ||||
dic_proxy_proxy_published_fk |
|
|
Restrict delete | ||||
reference_work_proxy_published_fk |
|
|
Restrict delete | ||||
sample_proxy_published_fk |
|
|
Restrict delete | ||||
sample_alternate_num_fk |
|
|
Restrict delete | ||||
reference_work_alternate_num_fk |
|
|
Restrict delete | ||||
dic_project_type_project_fk |
|
|
Restrict delete | ||||
project_project_samples_fk |
|
|
Restrict delete | ||||
sample_project_samples_fk |
|
|
Cascade on delete | ||||
dic_journal_reference_work_fk |
|
|
Restrict delete | ||||
person_collector_fk |
|
|
Restrict delete | ||||
collecting_event_collector_fk |
|
|
Restrict delete | ||||
analysis_analyte_determination_limits_fk |
|
|
Restrict delete | ||||
dic_analyte_analyte_determination_limits_fk |
|
|
Restrict delete | ||||
sample_fossil_sample_fk |
|
|
Restrict delete | ||||
fossil_fossil_sample_fk |
|
|
Restrict delete | ||||
dic_exp_method_analysis_fk |
|
|
Restrict delete | ||||
dic_analysis_method_analysis_fk |
|
|
Restrict delete | ||||
person_analysis_fk |
|
|
Restrict delete | ||||
dic_prep_method_analysis_fk |
|
|
Restrict delete | ||||
batch_analysis_fk |
|
|
Restrict delete | ||||
person_analysis_fk_1 |
|
|
Restrict delete | ||||
person_author_fk |
|
|
Restrict delete | ||||
reference_work_author_fk |
|
|
Restrict delete | ||||
sample_sample_provided_by_fk |
|
|
Restrict delete | ||||
person_sample_provided_by_fk |
|
|
Restrict delete | ||||
person_interpreted_age_provided_by_fk |
|
|
Restrict delete | ||||
interpreted_age_interpreted_age_provided_by_fk |
|
|
Restrict delete | ||||
sample_sed_structure_sample_fk |
|
|
Restrict delete | ||||
sed_structure_sed_structure_sample_fk |
|
|
Restrict delete | ||||
basin_dic_basin_type_fk |
|
|
Restrict delete | ||||
reference_work_dic_analysis_method_fk |
|
|
Restrict delete | ||||
institution_batch_fk |
|
|
Restrict delete | ||||
geological_region_site_fk |
|
|
Restrict delete | ||||
dic_country_site |
|
|
Restrict delete | ||||
dic_meta_site_fk |
|
|
Restrict delete | ||||
basin_site_fk |
|
|
Restrict delete | ||||
reference_work_dic_proxy_fk |
|
|
Restrict delete | ||||
sample_interpreted_age_fk |
|
|
Restrict delete | ||||
reference_work_interpreted_age_fk |
|
|
Restrict delete | ||||
dic_institution_type_institution_fk |
|
|
Restrict delete | ||||
institution_affiliation_fk |
|
|
Restrict delete | ||||
person_affiliation_fk |
|
|
Restrict delete | ||||
ics_age_geol_age_fk |
|
|
Restrict delete | ||||
collecting_event_sample_fk |
|
|
Restrict delete | ||||
dic_lith_composition_sample_fk |
|
|
Restrict delete | ||||
dic_lithology_sample_fk |
|
|
Restrict delete | ||||
geol_context_sample_fk |
|
|
Restrict delete | ||||
storage_sample_fk |
|
|
Restrict delete | ||||
color_sample_fk |
|
|
Restrict delete | ||||
dic_lith_texture_sample_fk |
|
|
Restrict delete | ||||
dic_weathering_sample_fk |
|
|
Restrict delete | ||||
site_collecting_event_fk |
|
|
Restrict delete | ||||
lithostrat_strat_fk |
|
|
Restrict delete | ||||
reference_work_project_citation_fk |
|
|
Restrict delete | ||||
project_project_citation_fk |
|
|
Restrict delete | ||||
biostrat_geol_context_fk |
|
|
Restrict delete | ||||
geol_age_geol_context_fk |
|
|
Restrict delete | ||||
strat_geol_context_fk |
|
|
Restrict delete | ||||
environment_geol_context_fk |
|
|
Restrict delete | ||||
reference_work_dic_exp_method_fk |
|
|
Restrict delete |
Check Constraints
Table | Constraint Name | Constraint |
---|---|---|
analyte_determination | abundance_negative | (((abundance >= (0)::numeric) OR ((determination_unit)::text = 'permil'::text))) |
analyte_determination | abundance_null | (((abundance IS NOT NULL) OR (is_above_detection IS NOT NULL) OR (is_below_detection IS NOT NULL))) |
environment | envchk | (((env_bin)::text = ANY (ARRAY['inner shelf'::text, 'outer shelf'::text, 'basinal'::text, 'lacustrine'::text, 'fluvial'::text]))) |
site | metachk | ((metamorphic_bin = ANY (ARRAY[1, 2, 3]))) |