--
-- PostgreSQL database dump
--








--
-- Name: public_validations; Type: SCHEMA; Schema: -; Owner: -
--

CREATE SCHEMA public_validations;


--
-- Name: SCHEMA public_validations; Type: COMMENT; Schema: -; Owner: -
--




USE default_schema;

--
-- Name: accesslevel; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: coordinatesource; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE coordinatesource; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: establishmentmeans_dwc; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE establishmentmeans_dwc; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: growthform; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: higher_plant_group; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: observationtype; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: occurrencestatus_dwc; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: placerank; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE placerank; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: rankedplacename; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: taxonrank; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE taxonrank; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: rankedtaxonname; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: relationship; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: role; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE role; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: schema_anchor; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE schema_anchor; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: sourcetype; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE sourcetype; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonclass; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE taxonclass; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonomic_status; Type: TYPE; Schema: public; Owner: -
--




--
-- Name: TYPE taxonomic_status; Type: COMMENT; Schema: public; Owner: -
--




USE public_validations;

--
-- Name: keys_~type._plots_01_count_of_projects; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_02_list_of_project_names; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_03_count_of_all_plots_in_this_source; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_04_count_of_plots_in_each_project_in_this_sou; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_05_list_of_plot_codes_by_project; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_06_list_of_plots_with_stem_measurements; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_06a_list_of_stems; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_07_list_of_plots_which_use_counts_of_indiv_pe; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_08_list_of_plots_which_use_percent_cover; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_09_list_of_plots_which_use_line_intercept; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_10_count_of_individuals_per_plot_in_each_proj; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_10a_aggregate_observation_individual_counts; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_11_count_of_stems_per_plot_in_each_project; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_pr; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plo; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_15_pct_cover_of_each_verb_taxon_in_each_plot_; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_16_intercepts_for_each_verb_taxon_in_each_plo; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_17_count_of_subplots_per_plot_for_each_projec; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_18_list_of_subplots_codes_for_each_plot_for_e; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._plots_19_count_of_censuses_per_plot_in_each_project; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._plots_19_count_of_censuses_per_plot_in_each_project`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_01_count_of_total_records_specimens_in_so; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_01_count_of_total_records_specimens_in_so`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_02_count_of_unique_verbatim_families; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_02_count_of_unique_verbatim_families`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_03_list_of_verbatim_families; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_03_list_of_verbatim_families`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_04_count_of_species_binomials; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_04_count_of_species_binomials`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_05_list_of_species_binomials; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_05_list_of_species_binomials`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_06_count_of_unique_verb_subsp_taxa_with_a`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_07_list_of_verbatim_subspecific_taxa_with`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_08_count_of_unique_verbatim_author_taxa_w`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_09_list_of_unique_verbatim_author_taxa_wi`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_10_count_number_of_records_by_institution; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_10_count_number_of_records_by_institution`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_11_list_of_three_standard_political_divis; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_11_list_of_three_standard_political_divis`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_12_distinct_collector_name_collect_num_da; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_12_distinct_collector_name_collect_num_da`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_13_count_of_all_verbatim_and_decimal_lat_`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_13a_list_of_all_verbatim_lat_long; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_13a_list_of_all_verbatim_lat_long`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_13b_list_of_all_decimal_lat_long; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_13b_list_of_all_decimal_lat_long`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_14_count_of_all_invalid_verbatim_lat_long`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_15_list_distinct_locality_descriptions; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_15_list_distinct_locality_descriptions`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._specimens_16_list_distinct_specimen_descriptions; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `keys_~type._specimens_16_list_distinct_specimen_descriptions`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_01_count_records; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_02_count_trait_names; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_03_list_trait_names; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_04_count_records_per_trait; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_05_count_taxa; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_06_list_distinct_taxa; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_07_trait_value_and_units; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: keys_~type._traits_08_taxonname_trait_and_value; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: schema_anchor; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE schema_anchor; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_01_count_of_projects; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_02_list_of_project_names; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_03_count_of_all_plots_in_this_source; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_04_count_of_plots_in_each_project_in_this_; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_05_list_of_plot_codes_by_project; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_06_list_of_plots_with_stem_measurements; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_06a_list_of_stems; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_07_list_of_plots_which_use_counts_of_indiv; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_08_list_of_plots_which_use_percent_cover; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_09_list_of_plots_which_use_line_intercept; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_10_count_of_individuals_per_plot_in_each_p; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_10a_aggregate_observation_individual_count; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_11_count_of_stems_per_plot_in_each_project; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_12_count_of_verbatim_taxa_per_plot_in_each; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_13_list_of_distinct_verbatim_taxa_in_each_; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_14_count_of_indiv_per_verbatim_taxon_per_p; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_15_pct_cover_of_each_verb_taxon_in_each_pl; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_16_intercepts_for_each_verb_taxon_in_each_; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_17_count_of_subplots_per_plot_for_each_pro; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_18_list_of_subplots_codes_for_each_plot_fo; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._plots_19_count_of_censuses_per_plot_in_each_proj; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._plots_19_count_of_censuses_per_plot_in_each_proj`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_01_count_of_total_records_specimens_in; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_01_count_of_total_records_specimens_in`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_02_count_of_unique_verbatim_families; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_02_count_of_unique_verbatim_families`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_03_list_of_verbatim_families; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_03_list_of_verbatim_families`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_04_count_of_species_binomials; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_04_count_of_species_binomials`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_05_list_of_species_binomials; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_05_list_of_species_binomials`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_06_count_of_unique_verb_subsp_taxa_wit`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_07_list_of_verbatim_subspecific_taxa_w`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_08_count_of_unique_verbatim_author_tax; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_08_count_of_unique_verbatim_author_tax`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_09_list_of_unique_verbatim_author_taxa; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_09_list_of_unique_verbatim_author_taxa`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_10_count_number_of_records_by_institut; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_10_count_number_of_records_by_institut`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_11_list_of_three_standard_political_di; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_11_list_of_three_standard_political_di`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_12_distinct_collector_name_collect_num; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_12_distinct_collector_name_collect_num`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_13_count_of_all_verbatim_and_decimal_l; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_13_count_of_all_verbatim_and_decimal_l`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_13a_list_of_all_verbatim_lat_long; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_13a_list_of_all_verbatim_lat_long`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_13b_list_of_all_decimal_lat_long; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_13b_list_of_all_decimal_lat_long`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_14_count_of_all_invalid_verbatim_lat_l`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_15_list_distinct_locality_descriptions; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_15_list_distinct_locality_descriptions`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._specimens_16_list_distinct_specimen_descriptions; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: TYPE `values__~type._specimens_16_list_distinct_specimen_descriptions`; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_01_count_records; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_02_count_trait_names; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_03_list_trait_names; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_04_count_records_per_trait; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_05_count_taxa; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_06_list_distinct_taxa; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_07_trait_value_and_units; Type: TYPE; Schema: public_validations; Owner: -
--




--
-- Name: values__~type._traits_08_taxonname_trait_and_value; Type: TYPE; Schema: public_validations; Owner: -
--




USE default_schema;

--
-- Name: _cm_to_m(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _filter_genus(varchar(255)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _fraction_to_percent(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _ft_to_m(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _ha_to_m2(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _has_taxonomic_name(taxonrank); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _in_to_m(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _km_to_m(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _locationnarrative_is_cultivated(varchar(255)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _m2_to_ha(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _m_to_cm(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _m_to_km(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _mm_to_m(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _or(int(1), int(1), int(1), int(1), int(1)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION _or(`0` int(1), `1` int(1), `2` int(1), `3` int(1), `4` int(1)); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: _percent_to_fraction(double); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _taxon_family_require_std(varchar(255)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _taxonlabel_set_parent_id(int(11), int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: _taxonomic_name_is_epithet(taxonrank); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: analytical_stem_view_modify(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: datasource_publish(varchar(255), anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION datasource_publish(datasource varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: datasource_rename(varchar(255), varchar(255), anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION datasource_rename(old varchar(255), new varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: datasource_rm(varchar(255), anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION datasource_rm(datasource varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: datasource_unpublish(varchar(255), anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION datasource_unpublish(datasource varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: delete_scrubbed_taxondeterminations(varchar(255)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: geoscrub_input_view_modify(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: lat_long_in_new_world(util.geocoord); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION lat_long_in_new_world(point util.geocoord); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: location__pull_forward_from_parent(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION location__pull_forward_from_parent(); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: location_set_plot_location_id(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationevent__communities(int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationevent__communities__array(int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationevent__contributors(int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationevent__contributors__array(int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationevent_pull_forward_from_parent(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION locationevent_pull_forward_from_parent(); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: locationevent_pull_forward_from_parent_for_stratum(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION locationevent_pull_forward_from_parent_for_stratum(); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: locationevent_set_place_visit_id(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationevent_set_plot_id(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: locationplace__set_location_current_place(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: make_family_higher_plant_group(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: party_source_id_self_ref(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: place_matched_place_id_self_ref(); Type: FUNCTION; Schema: public; Owner: -
--








--
-- Name: place; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE place (
    place_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    canon_place_id int(11),
    matched_place_id int(11),
    coordinates_id int(11),
    placename_id int(11),
    continent varchar(255),
    country varchar(255),
    stateprovince varchar(255),
    county varchar(255),
    description varchar(255),
    geovalid int(1) DEFAULT false NOT NULL,
    distance_to_country_m double,
    distance_to_state_m double,
    distance_to_county_m double
);


--
-- Name: TABLE place; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN place.matched_place_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: place_set_canon_place_id(place, int(11), int(1)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: place_set_canon_place_id_on_insert(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: place_set_canon_place_id_on_update(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: placename_update_ancestors(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: plantobservation_aggregateoccurrence_count_1(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: plot.**.modify(varchar(255), anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION `plot.**.modify`(view_query varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: project_contributors(int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION project_contributors(project_id int(11)); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: provider_count_view_modify(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: public_schema_publish(varchar(255)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: publish(anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION publish(schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: rm(anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION rm(schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: rm_version_suffix(varchar(255)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: source_by_shortname(varchar(255), anyelement); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: FUNCTION source_by_shortname(shortname varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: sourcename_set_matched_source_id(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxon_trait_view_modify(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxondetermination_set_iscurrent(int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxondetermination_set_iscurrent_on_delete(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxondetermination_set_iscurrent_on_insert(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_0_matched_label_id_self_ref(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_2_set_canon_label_id_on_insert(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_2_set_canon_label_id_on_update(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_3_parent_id_avoid_self_ref(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonlabel (
    taxonlabel_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    taxonstatus varchar(255),
    canon_label_id int(11),
    matched_label_id int(11),
    parent_id int(11),
    taxonepithet varchar(255),
    rank varchar(255),
    taxonomicname varchar(255)
);


--
-- Name: TABLE taxonlabel; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.source_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.sourceaccessioncode; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.canon_label_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.matched_label_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.parent_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.taxonepithet; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.rank; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel.taxonomicname; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonlabel_set_canon_label_id(taxonlabel, int(11), int(1)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_update_ancestors(taxonlabel, int(11), int(11)); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_update_ancestors_on_insert(); Type: FUNCTION; Schema: public; Owner: -
--




--
-- Name: taxonlabel_update_ancestors_on_update(); Type: FUNCTION; Schema: public; Owner: -
--




USE public_validations;

--
-- Name: ~type._plots_01_count_of_projects; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_01_count_of_projects` (
    projects varchar(255)
);


--
-- Name: keys(`~type._plots_01_count_of_projects`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_02_list_of_project_names; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_02_list_of_project_names` (
    project_name varchar(255)
);


--
-- Name: keys(`~type._plots_02_list_of_project_names`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_03_count_of_all_plots_in_this_source; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_03_count_of_all_plots_in_this_source` (
    plots varchar(255)
);


--
-- Name: keys(`~type._plots_03_count_of_all_plots_in_this_source`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_04_count_of_plots_in_each_project_in_this_source; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_04_count_of_plots_in_each_project_in_this_source` (
    project_name varchar(255),
    plots varchar(255)
);


--
-- Name: keys(`~type._plots_04_count_of_plots_in_each_project_in_this_source`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_05_list_of_plot_codes_by_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_05_list_of_plot_codes_by_project` (
    project_name varchar(255),
    plot_code varchar(255)
);


--
-- Name: keys(`~type._plots_05_list_of_plot_codes_by_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_06_list_of_plots_with_stem_measurements; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_06_list_of_plots_with_stem_measurements` (
    project_name varchar(255),
    plot_code varchar(255)
);


--
-- Name: keys(`~type._plots_06_list_of_plots_with_stem_measurements`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_06a_list_of_stems; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_06a_list_of_stems` (
    project_name varchar(255),
    plot_code varchar(255),
    stem_id varchar(255)
);


--
-- Name: keys(`~type._plots_06a_list_of_stems`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_07_list_of_plots_which_use_counts_of_indiv_per_spe; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_07_list_of_plots_which_use_counts_of_indiv_per_spe` (
    project_name varchar(255),
    plot_code varchar(255)
);


--
-- Name: keys(`~type._plots_07_list_of_plots_which_use_counts_of_indiv_per_spe`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_08_list_of_plots_which_use_percent_cover; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_08_list_of_plots_which_use_percent_cover` (
    project_name varchar(255),
    plot_code varchar(255)
);


--
-- Name: keys(`~type._plots_08_list_of_plots_which_use_percent_cover`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_09_list_of_plots_which_use_line_intercept; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_09_list_of_plots_which_use_line_intercept` (
    project_name varchar(255),
    plot_code varchar(255)
);


--
-- Name: keys(`~type._plots_09_list_of_plots_which_use_line_intercept`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_10_count_of_individuals_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_10_count_of_individuals_per_plot_in_each_project` (
    project_name varchar(255),
    plot_code varchar(255),
    individuals varchar(255)
);


--
-- Name: keys(`~type._plots_10_count_of_individuals_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_10a_aggregate_observation_individual_counts; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_10a_aggregate_observation_individual_counts` (
    project_name varchar(255),
    plot_code varchar(255),
    individual_id varchar(255),
    individuals int(11)
);


--
-- Name: keys(`~type._plots_10a_aggregate_observation_individual_counts`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_11_count_of_stems_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_11_count_of_stems_per_plot_in_each_project` (
    project_name varchar(255),
    plot_code varchar(255),
    stems varchar(255)
);


--
-- Name: keys(`~type._plots_11_count_of_stems_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project` (
    project_name varchar(255),
    plot_code varchar(255),
    taxa varchar(255)
);


--
-- Name: keys(`~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_` (
    project_name varchar(255),
    plot_code varchar(255),
    taxon varchar(255)
);


--
-- Name: keys(`~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e` (
    project_name varchar(255),
    plot_code varchar(255),
    taxon varchar(255),
    individuals varchar(255)
);


--
-- Name: keys(`~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_ea; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_ea` (
    project_name varchar(255),
    plot_code varchar(255),
    taxon varchar(255),
    totalpercentcover double
);


--
-- Name: keys(`~type._plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_ea`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_16_intercepts_for_each_verb_taxon_in_each_plot_eac; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_16_intercepts_for_each_verb_taxon_in_each_plot_eac` (
    project_name varchar(255),
    plot_code varchar(255),
    taxon varchar(255),
    intercept_cm double
);


--
-- Name: keys(`~type._plots_16_intercepts_for_each_verb_taxon_in_each_plot_eac`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_17_count_of_subplots_per_plot_for_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_17_count_of_subplots_per_plot_for_each_project` (
    project_name varchar(255),
    plot_code varchar(255),
    subplots varchar(255)
);


--
-- Name: keys(`~type._plots_17_count_of_subplots_per_plot_for_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_18_list_of_subplots_codes_for_each_plot_for_each_p; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_18_list_of_subplots_codes_for_each_plot_for_each_p` (
    project_name varchar(255),
    plot_code varchar(255),
    subplot_code varchar(255)
);


--
-- Name: keys(`~type._plots_18_list_of_subplots_codes_for_each_plot_for_each_p`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._plots_19_count_of_censuses_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._plots_19_count_of_censuses_per_plot_in_each_project` (
    project_name varchar(255),
    plot_code varchar(255),
    inventories varchar(255)
);


--
-- Name: keys(`~type._plots_19_count_of_censuses_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_01_count_of_total_records_specimens_in_source_; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_01_count_of_total_records_specimens_in_source_` (
    `totalSpecimenRecords` varchar(255)
);


--
-- Name: keys(`~type._specimens_01_count_of_total_records_specimens_in_source_`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_02_count_of_unique_verbatim_families; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_02_count_of_unique_verbatim_families` (
    families varchar(255)
);


--
-- Name: keys(`~type._specimens_02_count_of_unique_verbatim_families`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_03_list_of_verbatim_families; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_03_list_of_verbatim_families` (
    family varchar(255)
);


--
-- Name: keys(`~type._specimens_03_list_of_verbatim_families`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_04_count_of_species_binomials; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_04_count_of_species_binomials` (
    species_binomials varchar(255)
);


--
-- Name: keys(`~type._specimens_04_count_of_species_binomials`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_05_list_of_species_binomials; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_05_list_of_species_binomials` (
    species_binomial varchar(255)
);


--
-- Name: keys(`~type._specimens_05_list_of_species_binomials`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author` (
    taxon_names_with_author varchar(255)
);


--
-- Name: keys(`~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth` (
    taxon_name_with_author varchar(255)
);


--
-- Name: keys(`~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g` (
    taxon_names_with_author varchar(255)
);


--
-- Name: keys(`~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge` (
    taxon_name_with_author varchar(255)
);


--
-- Name: keys(`~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_10_count_number_of_records_by_institution; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_10_count_number_of_records_by_institution` (
    specimen_duplicate_institutions varchar(255),
    records varchar(255)
);


--
-- Name: keys(`~type._specimens_10_count_number_of_records_by_institution`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_11_list_of_three_standard_political_divisions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_11_list_of_three_standard_political_divisions` (
    country varchar(255),
    `stateProvince` varchar(255),
    county varchar(255)
);


--
-- Name: keys(`~type._specimens_11_list_of_three_standard_political_divisions`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_12_distinct_collector_name_collect_num_date_w_; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_12_distinct_collector_name_collect_num_date_w_` (
    `collectorName` varchar(255),
    `collectionNumber` varchar(255),
    `dateCollected` varchar(255),
    `specimenRecords` varchar(255)
);


--
-- Name: keys(`~type._specimens_12_distinct_collector_name_collect_num_date_w_`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long` (
    `allLatLongs` varchar(255),
    `decimalLatLongs` varchar(255)
);


--
-- Name: keys(`~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_13a_list_of_all_verbatim_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_13a_list_of_all_verbatim_lat_long` (
    `verbatimLatitude` varchar(255),
    `verbatimLongitude` varchar(255)
);


--
-- Name: keys(`~type._specimens_13a_list_of_all_verbatim_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_13b_list_of_all_decimal_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_13b_list_of_all_decimal_lat_long` (
    `decimalLatitude` double,
    `decimalLongitude` double
);


--
-- Name: keys(`~type._specimens_13b_list_of_all_decimal_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_14_count_of_all_invalid_verbatim_lat_long` (
    `badLats` varchar(255),
    `badLongs` varchar(255)
);


--
-- Name: keys(`~type._specimens_14_count_of_all_invalid_verbatim_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_15_list_distinct_locality_descriptions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_15_list_distinct_locality_descriptions` (
    `localityDescription` varchar(255)
);


--
-- Name: keys(`~type._specimens_15_list_distinct_locality_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._specimens_16_list_distinct_specimen_descriptions; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._specimens_16_list_distinct_specimen_descriptions` (
    `specimenDescription` varchar(255)
);


--
-- Name: keys(`~type._specimens_16_list_distinct_specimen_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_01_count_records; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_01_count_records` (
    `totalRecords` varchar(255)
);


--
-- Name: keys(`~type._traits_01_count_records`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_02_count_trait_names; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_02_count_trait_names` (
    traits varchar(255)
);


--
-- Name: keys(`~type._traits_02_count_trait_names`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_03_list_trait_names; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_03_list_trait_names` (
    trait varchar(255)
);


--
-- Name: keys(`~type._traits_03_list_trait_names`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_04_count_records_per_trait; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_04_count_records_per_trait` (
    trait varchar(255),
    measurements varchar(255)
);


--
-- Name: keys(`~type._traits_04_count_records_per_trait`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_05_count_taxa; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_05_count_taxa` (
    taxa varchar(255)
);


--
-- Name: keys(`~type._traits_05_count_taxa`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_06_list_distinct_taxa; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_06_list_distinct_taxa` (
    taxonwithauthor varchar(255)
);


--
-- Name: keys(`~type._traits_06_list_distinct_taxa`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_07_trait_value_and_units; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_07_trait_value_and_units` (
    trait varchar(255),
    value varchar(255),
    units varchar(255),
    copies varchar(255) NOT NULL
);


--
-- Name: keys(`~type._traits_07_trait_value_and_units`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: ~type._traits_08_taxonname_trait_and_value; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
--

CREATE TABLE `~type._traits_08_taxonname_trait_and_value` (
    taxonwithauthor varchar(255),
    trait varchar(255),
    value varchar(255),
    copies varchar(255) NOT NULL
);


--
-- Name: keys(`~type._traits_08_taxonname_trait_and_value`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: query_view_relation_max_prefix_len(); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: new_query_view_relation_name(varchar(255), varchar(255), varchar(255), int(11)); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION new_query_view_relation_name(query_view_from varchar(255), query_view_to varchar(255), relation_from varchar(255), max_prefix_len int(11)); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: output_queries(varchar(255), anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: query_relations(regclass, anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION query_relations(query_view regclass, schema_anchor anyelement); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: query_view_regexp(); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: remake_diff_table(regclass, anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION remake_diff_table(in_view regclass, schema_anchor anyelement); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: remake_diff_tables(anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: remake_diff_tables(varchar(255), anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: remake_output_tables(varchar(255), varchar(255), anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: rematerialize_in_view(regclass); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rematerialize_in_view(in_view regclass); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: rematerialize_out_view(varchar(255), regclass); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rematerialize_out_view(datasource_schema varchar(255), out_view regclass); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: rematerialize_out_view(regclass, anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rematerialize_out_view(in_view regclass, schema_anchor anyelement); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: rename_query_view(regclass, varchar(255), anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rename_query_view(from_ regclass, to_ varchar(255), schema_anchor anyelement); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: rm_all_queries(varchar(255), varchar(255)); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rm_all_queries(schema varchar(255), query_view_regexp varchar(255)); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: rm_output_queries(varchar(255), int(11), anyelement, varchar(255)); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rm_output_queries(name varchar(255), max_prefix_len int(11), schema_anchor anyelement, query_view_regexp varchar(255)); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: rm_query_view(regclass, anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: FUNCTION rm_query_view(query_view regclass, schema_anchor anyelement); Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: truncated_prefixed_name_regexp(varchar(255), int(11)); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: validatable_datasources(anyelement); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: validation_views(varchar(255), varchar(255), varchar(255)); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_01_count_of_projects`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_02_list_of_project_names`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_03_count_of_all_plots_in_this_source`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_04_count_of_plots_in_each_project_in_this_source`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_05_list_of_plot_codes_by_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_06_list_of_plots_with_stem_measurements`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_06a_list_of_stems`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_07_list_of_plots_which_use_counts_of_indiv_per_spe`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_08_list_of_plots_which_use_percent_cover`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_09_list_of_plots_which_use_line_intercept`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_10_count_of_individuals_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_10a_aggregate_observation_individual_counts`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_11_count_of_stems_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_ea`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_16_intercepts_for_each_verb_taxon_in_each_plot_eac`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_17_count_of_subplots_per_plot_for_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_18_list_of_subplots_codes_for_each_plot_for_each_p`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._plots_19_count_of_censuses_per_plot_in_each_project`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_01_count_of_total_records_specimens_in_source_`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_02_count_of_unique_verbatim_families`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_03_list_of_verbatim_families`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_04_count_of_species_binomials`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_05_list_of_species_binomials`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_10_count_number_of_records_by_institution`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_11_list_of_three_standard_political_divisions`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_12_distinct_collector_name_collect_num_date_w_`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_13a_list_of_all_verbatim_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_13b_list_of_all_decimal_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_14_count_of_all_invalid_verbatim_lat_long`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_15_list_distinct_locality_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._specimens_16_list_distinct_specimen_descriptions`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_01_count_records`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_02_count_trait_names`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_03_list_trait_names`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_04_count_records_per_trait`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_05_count_taxa`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_06_list_distinct_taxa`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_07_trait_value_and_units`); Type: FUNCTION; Schema: public_validations; Owner: -
--




--
-- Name: values_(`~type._traits_08_taxonname_trait_and_value`); Type: FUNCTION; Schema: public_validations; Owner: -
--




USE default_schema;

--
-- Name: analytical_stem; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE analytical_stem (
    `datasource__@Brad__.identifier_examples@vegpath.org` varchar(255) NOT NULL,
    `country__@DwC__@vegpath.org` varchar(255),
    `stateProvince__@DwC__@vegpath.org` varchar(255),
    `county__@DwC__@vegpath.org` varchar(255),
    `locality__@DwC__@vegpath.org` varchar(255),
    `decimalLatitude__@DwC__@vegpath.org` double,
    `decimalLongitude__@DwC__@vegpath.org` double,
    `coordinateUncertaintyInMeters__@DwC__@vegpath.org` double,
    `georeferenceSources__@DwC__@vegpath.org` coordinatesource,
    `georeferenceProtocol__@DwC__@vegpath.org` varchar(255),
    geovalid_bien int(11),
    `isNewWorld_bien` int(11),
    `projectID__@VegX__.plotObservation@vegpath.org` varchar(255),
    `projectContributor[s]__@VegBank__@vegpath.org` varchar(255),
    `locationID__@DwC__@vegpath.org` varchar(255) NOT NULL,
    `plotName__@VegX__.plot@vegpath.org` varchar(255),
    `subplot__@SALVIAS__.Plot_data@vegpath.org` varchar(255),
    location__cultivated__bien int(1),
    `locationevent.locationevent_id__@VegBIEN__.public@vegpath.org` int(11),
    `eventDate__@DwC__@vegpath.org` date,
    `(-minimum-)ElevationInMeters__@DwC__@vegpath.org` double,
    `slopeAspect[_deg]__@VegX__.plot@vegpath.org` double,
    `slopeGradient[_deg]__@VegX__.plot@vegpath.org` double,
    `plot.area[_ha]__@VegX__@vegpath.org` double,
    `samplingProtocol__@DwC__@vegpath.org` varchar(255),
    `temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org` double,
    `precip_mm__@SALVIAS__.Plot_metadata@vegpath.org` double,
    `stratumName__@VegX__.stratum@vegpath.org` varchar(255),
    `communityConcept.name__@VegX__.communityDet@vegpath.org` varchar(255),
    `observationContributor[s]__@VegBank__@vegpath.org` varchar(255),
    `[custodial_]institutionCode[s]__@DwC__@vegpath.org` varchar(255),
    `collectionCode__@DwC__@vegpath.org` varchar(255),
    `catalogNumber__@DwC__@vegpath.org` varchar(255),
    `occurrenceID__@DwC__@vegpath.org` varchar(255),
    `recordedBy__@DwC__@vegpath.org` varchar(255),
    `recordNumber__@DwC__@vegpath.org` varchar(255),
    `(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org` date,
    `[verbatim_]family__@DwC__@vegpath.org` varchar(255),
    `[verbatim_]scientificName__@DwC__@vegpath.org` varchar(255),
    `identifiedBy__@DwC__@vegpath.org` varchar(255),
    `dateIdentified__@DwC__@vegpath.org` date,
    `identificationRemarks__@DwC__@vegpath.org` varchar(255),
    `Family_matched__@TNRS__@vegpath.org` varchar(255),
    `Name_matched__@TNRS__@vegpath.org` varchar(255),
    `Name_matched_author__@TNRS__@vegpath.org` varchar(255),
    `[higher_plant_group~]higherClassification__@DwC__@vegpath.org` higher_plant_group,
    `taxonomicStatus__@DwC__@vegpath.org` varchar(255),
    scrubbed_family varchar(255),
    scrubbed_genus varchar(255),
    scrubbed_specific_epithet varchar(255),
    scrubbed_species_binomial varchar(255),
    scrubbed_taxon_name_no_author varchar(255),
    scrubbed_author varchar(255),
    scrubbed_taxon_name_with_author varchar(255),
    `speciesBinomialWithMorphospecies__@VegCore__@vegpath.org` varchar(255),
    `[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org` growthform,
    `reproductiveCondition__@DwC__@vegpath.org` varchar(255),
    threatened_bien int(11),
    cultivated_bien int(11),
    `cultivatedBasis_bien` varchar(255),
    `occurrenceRemarks__@DwC__@vegpath.org` varchar(255),
    `coverPercent__@VegX__.attribute.ordinal@vegpath.org` double,
    `stem_dbh[_cm]__@SALVIAS__.Plot_data@vegpath.org` double,
    `stemHeight[_m]__@VegBank__.stemCount@vegpath.org` double,
    `[tag=]identificationLabel__@VegX__.individual@vegpath.org` varchar(255),
    `relativeX[_m]__@VegX__.individualOrganismObs@vegpath.org` double,
    `relativeY[_m]__@VegX__.individualOrganismObs@vegpath.org` double,
    `taxonObservation[.id]__@VegBank__@vegpath.org` varchar(255),
    `taxonNameUsageConcept.authorCode__@VegX__@vegpath.org` varchar(255),
    `aggregateOrganismObservation.id__@VegX__@vegpath.org` varchar(255),
    `individualOrganismObservation.id__@VegX__@vegpath.org` varchar(255),
    `individualID__@DwC__@vegpath.org` varchar(255),
    `individualCount__@DwC__@vegpath.org` int(11),
    `stemCode__@VegBank__.stemLocation@vegpath.org` varchar(255),
    `TAXONOBSERVATION_ID__@VegBank__.taxonObservation@vegpath.org` int(11) NOT NULL
);


--
-- Name: COLUMN analytical_stem.`datasource__@Brad__.identifier_examples@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`country__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`stateProvince__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`county__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`locality__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`decimalLatitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`decimalLongitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`coordinateUncertaintyInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`georeferenceSources__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`georeferenceProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.geovalid_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`isNewWorld_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`projectID__@VegX__.plotObservation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`projectContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`locationID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`plotName__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`subplot__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`locationevent.locationevent_id__@VegBIEN__.public@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`eventDate__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`(-minimum-)ElevationInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`slopeAspect[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`slopeGradient[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`plot.area[_ha]__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`samplingProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`precip_mm__@SALVIAS__.Plot_metadata@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`stratumName__@VegX__.stratum@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`communityConcept.name__@VegX__.communityDet@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`observationContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`[custodial_]institutionCode[s]__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`collectionCode__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`catalogNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`occurrenceID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`recordedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`recordNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`[verbatim_]family__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`[verbatim_]scientificName__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`identifiedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`dateIdentified__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`identificationRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`Family_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`Name_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`Name_matched_author__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`[higher_plant_group~]higherClassification__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`taxonomicStatus__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_family; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_genus; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_specific_epithet; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_species_binomial; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_taxon_name_no_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.scrubbed_taxon_name_with_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`speciesBinomialWithMorphospecies__@VegCore__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`reproductiveCondition__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.threatened_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.cultivated_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`cultivatedBasis_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`occurrenceRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`coverPercent__@VegX__.attribute.ordinal@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`stem_dbh[_cm]__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`stemHeight[_m]__@VegBank__.stemCount@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`[tag=]identificationLabel__@VegX__.individual@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`relativeX[_m]__@VegX__.individualOrganismObs@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`relativeY[_m]__@VegX__.individualOrganismObs@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`taxonObservation[.id]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`taxonNameUsageConcept.authorCode__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`aggregateOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`individualOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`individualID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`individualCount__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`stemCode__@VegBank__.stemLocation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem.`TAXONOBSERVATION_ID__@VegBank__.taxonObservation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: 2013-10-18.Brian_Enquist.Canadensys; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: 2013-7-10.Naia.range_limiting_factors; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: 2014-3-11.Jeff_Ott.climatic_range_determinants; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: 2014-6-12.Jeff_Ott.climatic_range_determinants; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: 2014-6-4.Iara_Lacher.reserve_prioritization; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: address; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE address (
    address_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    organization_id int(11),
    orgposition varchar(255),
    email varchar(255),
    street varchar(255),
    street2 varchar(255),
    city varchar(255),
    stateprovince varchar(255),
    postalcode varchar(255),
    country varchar(255),
    currentflag int(1),
    addressstartdate date
);


--
-- Name: address_address_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: address_address_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE aggregateoccurrence (
    aggregateoccurrence_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    taxonoccurrence_id int(11),
    collectiondate date,
    cover_fraction double,
    linecover_m double,
    basalarea_m2 double,
    biomass_kg_m2 double,
    inferencearea_m2 double,
    count int(11),
    stratum_id int(11),
    coverindex_id int(11),
    occurrencestatus_dwc varchar(255) DEFAULT 'present' NOT NULL,
    method_id int(11),
    notes varchar(255)
);


--
-- Name: TABLE aggregateoccurrence; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN aggregateoccurrence.linecover_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN aggregateoccurrence.occurrencestatus_dwc; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence_aggregateoccurrence_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence_aggregateoccurrence_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: analytical_plot; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`datasource__@Brad__.identifier_examples@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`country__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`stateProvince__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`county__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`locality__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`decimalLatitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`decimalLongitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`coordinateUncertaintyInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`georeferenceSources__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`georeferenceProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.geovalid_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`isNewWorld_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`projectID__@VegX__.plotObservation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`projectContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`locationID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`plotName__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`subplot__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`eventDate__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`(-minimum-)ElevationInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`slopeAspect[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`slopeGradient[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`plot.area[_ha]__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`samplingProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`precip_mm__@SALVIAS__.Plot_metadata@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`stratumName__@VegX__.stratum@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`communityConcept.name__@VegX__.communityDet@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`observationContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`recordedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`recordNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`[verbatim_]family__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`[verbatim_]scientificName__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`identifiedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`dateIdentified__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`identificationRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`Family_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`Name_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`Name_matched_author__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.scrubbed_family; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.scrubbed_genus; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`speciesBinomialWithMorphospecies__@VegCore__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.scrubbed_taxon_name_no_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.scrubbed_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`reproductiveCondition__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.cultivated_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`cultivatedBasis_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`occurrenceRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`coverPercent__@VegX__.attribute.ordinal@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`stem_dbh[_cm]__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`stemHeight[_m]__@VegBank__.stemCount@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`[tag=]identificationLabel__@VegX__.individual@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`relativeX[_m]__@VegX__.individualOrganismObs@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`relativeY[_m]__@VegX__.individualOrganismObs@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`taxonObservation[.id]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`taxonNameUsageConcept.authorCode__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`aggregateOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`individualOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`individualID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`individualCount__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_plot.`stemCode__@VegBank__.stemLocation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: analytical_specimen; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`datasource__@Brad__.identifier_examples@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`country__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`stateProvince__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`county__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`locality__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`decimalLatitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`decimalLongitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`coordinateUncertaintyInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`georeferenceSources__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`georeferenceProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.geovalid_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`isNewWorld_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`eventDate__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`(-minimum-)ElevationInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`precip_mm__@SALVIAS__.Plot_metadata@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`[custodial_]institutionCode[s]__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`collectionCode__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`catalogNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`occurrenceID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`recordedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`recordNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`[verbatim_]family__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`[verbatim_]scientificName__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`identifiedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`dateIdentified__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`identificationRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`Family_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`Name_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`Name_matched_author__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.scrubbed_family; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.scrubbed_genus; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.scrubbed_taxon_name_no_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.scrubbed_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`reproductiveCondition__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.cultivated_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`cultivatedBasis_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`occurrenceRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`stem_dbh[_cm]__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`stemHeight[_m]__@VegBank__.stemCount@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_specimen.`[tag=]identificationLabel__@VegX__.individual@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: analytical_stem_TAXONOBSERVATION_ID__@VegBank__.taxonObserv_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: analytical_stem_TAXONOBSERVATION_ID__@VegBank__.taxonObserv_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: coordinates; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE coordinates (
    coordinates_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    latitude_deg double NOT NULL,
    longitude_deg double NOT NULL,
    verbatimlatitude varchar(255),
    verbatimlongitude varchar(255),
    verbatimcoordinates varchar(255),
    footprintgeometry_dwc varchar(255),
    coordsaccuracy_m double
);


--
-- Name: COLUMN coordinates.footprintgeometry_dwc; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN coordinates.coordsaccuracy_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: cultivated_family_locations; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE cultivated_family_locations (
    family varchar(255) NOT NULL,
    country varchar(255) NOT NULL
);


--
-- Name: TABLE cultivated_family_locations; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: family_higher_plant_group; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE family_higher_plant_group (
    family varchar(255) NOT NULL,
    higher_plant_group varchar(255)
);


--
-- Name: location; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE location (
    location_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    plot_location_id int(11) NOT NULL,
    parent_id int(11),
    authorlocationcode varchar(255),
    place_id int(11),
    accesslevel varchar(255),
    accessconditions varchar(255),
    sublocationxposition_m double,
    sublocationyposition_m double,
    iscultivated int(1),
    authorzone varchar(255),
    authordatum varchar(255),
    authorlocation varchar(255),
    locationnarrative varchar(255),
    azimuth double,
    shape varchar(255),
    area_m2 double,
    standsize varchar(255),
    placementmethod varchar(255),
    permanence int(1),
    layoutnarrative varchar(255),
    elevation_m double,
    elevationaccuracy_m double,
    elevationrange_m double,
    verbatimelevation varchar(255),
    slopeaspect_deg double,
    minslopeaspect_deg double,
    maxslopeaspect_deg double,
    slopegradient_fraction double,
    minslopegradient_fraction double,
    maxslopegradient_fraction double,
    topoposition varchar(255),
    landform varchar(255),
    surficialdeposits varchar(255),
    rocktype varchar(255),
    submitter_surname varchar(255),
    submitter_givenname varchar(255),
    submitter_email varchar(255),
    notespublic int(1),
    notesmgt int(1),
    revisions int(1),
    dateentered date ,
    locationrationalenarrative varchar(255)
);


--
-- Name: TABLE location; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN location.plot_location_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: locationevent; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE locationevent (
    locationevent_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    accesslevel varchar(255),
    place_visit_id int(11) NOT NULL,
    parent_id int(11),
    plot_id int(11),
    location_id int(11),
    project_id int(11),
    stratum_id int(11),
    authoreventcode varchar(255),
    previous_id int(11),
    obsstartdate date,
    obsenddate date,
    dateaccuracy varchar(255),
    method_id int(11),
    temperature_c double,
    precipitation_m double,
    autotaxoncover int(1),
    originaldata varchar(255),
    effortlevel varchar(255),
    floristicquality varchar(255),
    bryophytequality varchar(255),
    lichenquality varchar(255),
    locationeventnarrative varchar(255),
    landscapenarrative varchar(255),
    homogeneity varchar(255),
    phenologicaspect varchar(255),
    representativeness varchar(255),
    standmaturity varchar(255),
    successionalstatus varchar(255),
    basalarea double,
    hydrologicregime varchar(255),
    soilmoistureregime varchar(255),
    soildrainage varchar(255),
    watersalinity varchar(255),
    waterdepth_m double,
    shoredistance double,
    soildepth double,
    organicdepth double,
    soiltaxon_id int(11),
    soiltaxonsrc varchar(255),
    percentbedrock double,
    percentrockgravel double,
    percentwood double,
    percentlitter double,
    percentbaresoil double,
    percentwater double,
    percentother double,
    nameother varchar(255),
    treeht double,
    shrubht double,
    fieldht double,
    nonvascularht double,
    submergedht double,
    treecover double,
    shrubcover double,
    fieldcover double,
    nonvascularcover double,
    floatingcover double,
    submergedcover double,
    dominantstratum varchar(255),
    growthform1type varchar(255),
    growthform2type varchar(255),
    growthform3type varchar(255),
    growthform1cover double,
    growthform2cover double,
    growthform3cover double,
    totalcover double,
    notespublic int(1),
    notesmgt int(1),
    revisions int(1),
    dateentered date ,
    toptaxon1name varchar(255),
    toptaxon2name varchar(255),
    toptaxon3name varchar(255),
    toptaxon4name varchar(255),
    toptaxon5name varchar(255),
    numberoftaxa int(11)
);


--
-- Name: TABLE locationevent; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN locationevent.place_visit_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN locationevent.plot_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: method; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE method (
    method_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    name varchar(255),
    description varchar(255),
    diameterheight_m double,
    mindiameter_m double,
    maxdiameter_m double,
    minheight_m double,
    maxheight_m double,
    observationtype varchar(255),
    observationmeasure varchar(255),
    covermethod_id int(11),
    samplingfactor double DEFAULT 1 NOT NULL,
    coverbasis varchar(255),
    stemsamplemethod varchar(255),
    shape varchar(255),
    length_m double,
    width_m double,
    radius_m double,
    area_m2 double,
    samplearea_m2 double,
    subplotspacing_m double,
    subplotmethod_id int(11),
    pointsperline int(11)
);


--
-- Name: TABLE method; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.source_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.name; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.description; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.diameterheight_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.mindiameter_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.maxdiameter_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.minheight_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.maxheight_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.observationtype; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.observationmeasure; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.samplingfactor; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.coverbasis; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.stemsamplemethod; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.shape; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.samplearea_m2; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.subplotspacing_m; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.subplotmethod_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN method.pointsperline; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: party; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE party (
    party_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    fullname varchar(255),
    salutation varchar(255),
    givenname varchar(255),
    middlename varchar(255),
    surname varchar(255),
    suffix varchar(255),
    department varchar(255),
    organizationname varchar(255),
    currentname_id int(11),
    contactinstructions varchar(255),
    email varchar(255),
    partytype varchar(255),
    partypublic int(1) DEFAULT true
);


--
-- Name: plantobservation; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE plantobservation (
    plantobservation_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    aggregateoccurrence_id int(11),
    overallheight_m double,
    overallheightaccuracy_m double,
    authorplantcode varchar(255),
    stemcount int(11),
    reproductivecondition varchar(255),
    plant_id int(11)
);


--
-- Name: TABLE plantobservation; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN plantobservation.authorplantcode; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: project; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE project (
    project_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    projectname varchar(255),
    projectdescription varchar(255),
    startdate date,
    stopdate date
);


--
-- Name: source; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE source (
    source_id int(11) NOT NULL,
    matched_source_id int(11),
    parent_id int(11),
    shortname varchar(255) NOT NULL,
    citation varchar(255),
    sourcetype varchar(255),
    accesslevel varchar(255),
    accessconditions varchar(255),
    observationtype varchar(255),
    title varchar(255),
    titlesuperior varchar(255),
    volume varchar(255),
    issue varchar(255),
    pagerange varchar(255),
    totalpages int(11),
    publisher varchar(255),
    publicationplace varchar(255),
    isbn varchar(255),
    edition varchar(255),
    numberofvolumes int(11),
    chapternumber int(11),
    reportnumber int(11),
    communicationtype varchar(255),
    degree varchar(255),
    url varchar(255),
    doi varchar(255),
    additionalinfo varchar(255),
    pubdate date,
    accessdate date,
    conferencedate date,
    datecreated date  NOT NULL,
    createdby varchar(255),
    datelastmodified date  NOT NULL,
    lastmodifiedby varchar(255),
    import_revision varchar(255)
);


--
-- Name: stratum; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE stratum (
    stratum_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    stratumname varchar(255) NOT NULL,
    stratumheight double,
    stratumbase double,
    stratumcover double,
    area double,
    method_id int(11)
);


--
-- Name: plot.**; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`datasource__@Brad__.identifier_examples@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`country__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`stateProvince__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`county__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`locality__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`decimalLatitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`decimalLongitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`coordinateUncertaintyInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`georeferenceSources__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`georeferenceProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.geovalid_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`isNewWorld_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`projectID__@VegX__.plotObservation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`projectContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`locationID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`plotName__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`subplot__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`locationevent.locationevent_id__@VegBIEN__.public@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`eventDate__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`(-minimum-)ElevationInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`slopeAspect[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`slopeGradient[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`plot.area[_ha]__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`samplingProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`precip_mm__@SALVIAS__.Plot_metadata@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`stratumName__@VegX__.stratum@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`communityConcept.name__@VegX__.communityDet@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN `plot.**`.`observationContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: sourcelist; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE sourcelist (
    sourcelist_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    name varchar(255) NOT NULL
);


--
-- Name: specimenreplicate; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE specimenreplicate (
    specimenreplicate_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    plantobservation_id int(11),
    duplicate_institutions_sourcelist_id int(11),
    collectioncode_dwc varchar(255),
    catalognumber_dwc varchar(255),
    collectionnumber varchar(255),
    description varchar(255),
    specimen_id int(11)
);


--
-- Name: TABLE specimenreplicate; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN specimenreplicate.duplicate_institutions_sourcelist_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN specimenreplicate.collectioncode_dwc; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: stemobservation; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE stemobservation (
    stemobservation_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    plantobservation_id int(11) NOT NULL,
    authorstemcode varchar(255),
    tag varchar(255),
    tags varchar(255),
    xposition_m double,
    yposition_m double,
    diameterbreastheight_m double,
    basaldiameter_m double,
    diameteraccuracy_m double,
    height_m double,
    heightfirstbranch_m double,
    heightaccuracy_m double,
    health varchar(255),
    age double
);


--
-- Name: TABLE stemobservation; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN stemobservation.tags; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxondetermination; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxondetermination (
    taxondetermination_id int(11) NOT NULL,
    taxonoccurrence_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    taxonverbatim_id int(11) NOT NULL,
    party_id int(11),
    role varchar(255) DEFAULT 'unknown' NOT NULL,
    determinationtype varchar(255),
    reference_id int(11),
    isoriginal int(1),
    iscurrent__verbatim int(1),
    iscurrent int(1) DEFAULT false NOT NULL,
    taxonfit varchar(255),
    taxonconfidence varchar(255),
    grouptype varchar(255),
    notes varchar(255),
    revisions int(1),
    determinationdate date
);


--
-- Name: TABLE taxondetermination; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonoccurrence; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonoccurrence (
    taxonoccurrence_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceaccessioncode varchar(255),
    locationevent_id int(11),
    authortaxoncode varchar(255),
    collector_id int(11),
    growthform varchar(255),
    iscultivated int(1),
    cultivatedbasis varchar(255),
    isnative int(1)
);


--
-- Name: TABLE taxonoccurrence; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonoccurrence.iscultivated; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonoccurrence.cultivatedbasis; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonoccurrence.isnative; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonverbatim; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonverbatim (
    taxonverbatim_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    taxonlabel_id int(11),
    verbatimrank varchar(255),
    taxonomicname varchar(255),
    taxonname varchar(255),
    author varchar(255),
    family varchar(255),
    genus varchar(255),
    specific_epithet varchar(255),
    subspecies varchar(255),
    morphospecies varchar(255),
    morphoname varchar(255),
    growthform varchar(255),
    description varchar(255)
);


--
-- Name: TABLE taxonverbatim; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.verbatimrank; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.taxonomicname; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.taxonname; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.family; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.genus; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.specific_epithet; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonverbatim.morphospecies; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: threatened_taxonlabel; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE threatened_taxonlabel (
    taxonlabel_id int(11) NOT NULL
);


--
-- Name: analytical_stem_view; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: VIEW analytical_stem_view; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`datasource__@Brad__.identifier_examples@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`country__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`stateProvince__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`county__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`locality__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`decimalLatitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`decimalLongitude__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`coordinateUncertaintyInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`georeferenceSources__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`georeferenceProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.geovalid_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`isNewWorld_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`projectID__@VegX__.plotObservation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`projectContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`locationID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`plotName__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`subplot__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.location__cultivated__bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`locationevent.locationevent_id__@VegBIEN__.public@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`eventDate__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`(-minimum-)ElevationInMeters__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`slopeAspect[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`slopeGradient[_deg]__@VegX__.plot@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`plot.area[_ha]__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`samplingProtocol__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`temperature[_C]__@VegX__.plotObs.obsCond@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`precip_mm__@SALVIAS__.Plot_metadata@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`stratumName__@VegX__.stratum@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`communityConcept.name__@VegX__.communityDet@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`observationContributor[s]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`[custodial_]institutionCode[s]__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`collectionCode__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`catalogNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`occurrenceID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`recordedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`recordNumber__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`[verbatim_]family__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`[verbatim_]scientificName__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`identifiedBy__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`dateIdentified__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`identificationRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`Family_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`Name_matched__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`Name_matched_author__@TNRS__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`[higher_plant_group~]higherClassification__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`taxonomicStatus__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_family; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_genus; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_specific_epithet; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_species_binomial; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_taxon_name_no_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.scrubbed_taxon_name_with_author; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`speciesBinomialWithMorphospecies__@VegCore__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`[growth_form=]habit__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`reproductiveCondition__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.threatened_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.cultivated_bien; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`cultivatedBasis_bien`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`occurrenceRemarks__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`coverPercent__@VegX__.attribute.ordinal@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`stem_dbh[_cm]__@SALVIAS__.Plot_data@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`stemHeight[_m]__@VegBank__.stemCount@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`[tag=]identificationLabel__@VegX__.individual@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`relativeX[_m]__@VegX__.individualOrganismObs@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`relativeY[_m]__@VegX__.individualOrganismObs@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`taxonObservation[.id]__@VegBank__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`taxonNameUsageConcept.authorCode__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`aggregateOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`individualOrganismObservation.id__@VegX__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`individualID__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`individualCount__@DwC__@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN analytical_stem_view.`stemCode__@VegBank__.stemLocation@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: classcontributor; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE classcontributor (
    classcontributor_id int(11) NOT NULL,
    commclass_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    role varchar(255)
);


--
-- Name: classcontributor_classcontributor_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: classcontributor_classcontributor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: collected_dates; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: COLUMN collected_dates.`(-Earliest-)DateCollected__-2007-04-17__@DwC__.hist@vegpath.org`; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: commclass; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commclass (
    commclass_id int(11) NOT NULL,
    locationevent_id int(11) NOT NULL,
    inspection int(1),
    tableanalysis int(1),
    multivariateanalysis int(1),
    classpublication_id int(11),
    classnotes varchar(255),
    commname varchar(255),
    commcode varchar(255),
    commframework varchar(255),
    commlevel varchar(255),
    classstartdate date,
    classstopdate date,
    expertsystem varchar(255)
);


--
-- Name: commclass_commclass_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commclass_commclass_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commconcept; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commconcept (
    commconcept_id int(11) NOT NULL,
    commname_id int(11) NOT NULL,
    reference_id int(11),
    commdescription varchar(255),
    commname varchar(255)
);


--
-- Name: commconcept_commconcept_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commconcept_commconcept_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commcorrelation; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commcorrelation (
    commcorrelation_id int(11) NOT NULL,
    commstatus_id int(11) NOT NULL,
    commconcept_id int(11) NOT NULL,
    commconvergence varchar(255) NOT NULL,
    correlationstart date NOT NULL,
    correlationstop date
);


--
-- Name: commcorrelation_commcorrelation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commcorrelation_commcorrelation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commdetermination; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commdetermination (
    commdetermination_id int(11) NOT NULL,
    commclass_id int(11) NOT NULL,
    commconcept_id int(11) NOT NULL,
    commcode varchar(255),
    commname varchar(255),
    classfit varchar(255),
    classconfidence varchar(255),
    commauthority_id int(11),
    notes varchar(255),
    type int(1),
    nomenclaturaltype int(1)
);


--
-- Name: commdetermination_commdetermination_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commdetermination_commdetermination_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commlineage; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commlineage (
    commlineage_id int(11) NOT NULL,
    parentcommstatus_id int(11) NOT NULL,
    childcommstatus_id int(11) NOT NULL
);


--
-- Name: commlineage_commlineage_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commlineage_commlineage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commname; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commname (
    commname_id int(11) NOT NULL,
    commname varchar(255) NOT NULL,
    source_id int(11),
    dateentered date 
);


--
-- Name: commname_commname_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commname_commname_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commstatus; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commstatus (
    commstatus_id int(11) NOT NULL,
    commconcept_id int(11) NOT NULL,
    source_id int(11),
    commconceptstatus varchar(255) NOT NULL,
    commparent_id int(11),
    commlevel varchar(255),
    commpartycomments varchar(255),
    party_id int(11) NOT NULL,
    startdate date NOT NULL,
    stopdate date
);


--
-- Name: commstatus_commstatus_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commstatus_commstatus_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: commusage; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE commusage (
    commusage_id int(11) NOT NULL,
    commname_id int(11) NOT NULL,
    commname varchar(255),
    commconcept_id int(11),
    commnamestatus varchar(255),
    classsystem varchar(255),
    party_id int(11),
    commstatus_id int(11),
    usagestart date,
    usagestop date
);


--
-- Name: commusage_commusage_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: commusage_commusage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: coordinates_coordinates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: coordinates_coordinates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: coverindex; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE coverindex (
    coverindex_id int(11) NOT NULL,
    covermethod_id int(11) NOT NULL,
    covercode varchar(255) NOT NULL,
    upperlimit double,
    lowerlimit double,
    coverpercent double NOT NULL,
    indexdescription varchar(255)
);


--
-- Name: coverindex_coverindex_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: coverindex_coverindex_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: covermethod; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE covermethod (
    covermethod_id int(11) NOT NULL,
    source_id int(11),
    covertype varchar(255) NOT NULL,
    coverestimationmethod varchar(255)
);


--
-- Name: covermethod_covermethod_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: covermethod_covermethod_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: dba_preassignacccode_dba_requestnumber_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: definedvalue; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE definedvalue (
    definedvalue_id int(11) NOT NULL,
    userdefined_id int(11) NOT NULL,
    tablerecord_id int(11) NOT NULL,
    definedvalue varchar(255)
);


--
-- Name: definedvalue_definedvalue_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: definedvalue_definedvalue_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: disturbanceobs; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE disturbanceobs (
    disturbanceobs_id int(11) NOT NULL,
    locationevent_id int(11) NOT NULL,
    disturbancetype varchar(255) NOT NULL,
    disturbanceintensity varchar(255),
    disturbanceage double,
    disturbanceextent double,
    disturbancecomment varchar(255)
);


--
-- Name: disturbanceobs_disturbanceobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: disturbanceobs_disturbanceobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: geoscrub_input; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE geoscrub_input (
    country varchar(255),
    `stateProvince` varchar(255),
    county varchar(255),
    `decimalLatitude` double,
    `decimalLongitude` double
);


--
-- Name: geoscrub_input_new; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: geoscrub_input_view; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: graphic; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE graphic (
    graphic_id int(11) NOT NULL,
    locationevent_id int(11) NOT NULL,
    graphicname varchar(255),
    graphiclocation varchar(255),
    graphicdescription varchar(255),
    graphictype varchar(255),
    graphicdata int(11),
    graphicdate date
);


--
-- Name: graphic_graphic_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: graphic_graphic_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: higher_plant_group_nodes; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE higher_plant_group_nodes (
    higher_plant_group varchar(255),
    node_name varchar(255) NOT NULL
);


--
-- Name: location_location_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: location_location_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: locationevent_locationevent_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: locationevent_locationevent_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: locationeventcontributor; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE locationeventcontributor (
    locationeventcontributor_id int(11) NOT NULL,
    locationevent_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    role varchar(255),
    contributiondate date
);


--
-- Name: locationeventcontributor_locationeventcontributor_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: locationeventcontributor_locationeventcontributor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: locationeventsynonym; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE locationeventsynonym (
    locationeventsynonym_id int(11) NOT NULL,
    synonymlocationevent_id int(11) NOT NULL,
    primarylocationevent_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    role varchar(255) NOT NULL,
    synonymcomment varchar(255),
    classstartdate date  NOT NULL,
    classstopdate date
);


--
-- Name: locationeventsynonym_locationeventsynonym_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: locationeventsynonym_locationeventsynonym_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: locationplace; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE locationplace (
    locationplace_id int(11) NOT NULL,
    location_id int(11) NOT NULL,
    place_id int(11) NOT NULL,
    identifier_id int(11)
);


--
-- Name: TABLE locationplace; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: locationplace_locationplace_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: locationplace_locationplace_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: method_method_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: method_method_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: methodtaxonclass; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE methodtaxonclass (
    methodtaxonclass_id int(11) NOT NULL,
    method_id int(11) NOT NULL,
    taxonlabel_id int(11),
    included int(1) NOT NULL,
    submethod_id int(11),
    taxonclass varchar(255)
);


--
-- Name: COLUMN methodtaxonclass.included; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN methodtaxonclass.submethod_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: methodtaxonclass_methodtaxonclass_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: methodtaxonclass_methodtaxonclass_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: note; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE note (
    note_id int(11) NOT NULL,
    notelink_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    role varchar(255) NOT NULL,
    notetype varchar(255) NOT NULL,
    notetext varchar(255) NOT NULL,
    notedate date
);


--
-- Name: note_note_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: note_note_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: notelink; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE notelink (
    notelink_id int(11) NOT NULL,
    tablename varchar(255) NOT NULL,
    attributename varchar(255),
    tablerecord int(11) NOT NULL
);


--
-- Name: notelink_notelink_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: notelink_notelink_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: party_party_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: party_party_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: partymember; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE partymember (
    partymember_id int(11) NOT NULL,
    parentparty_id int(11) NOT NULL,
    childparty_id int(11) NOT NULL,
    role varchar(255),
    memberstart date  NOT NULL,
    memberstop date
);


--
-- Name: partymember_partymember_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: partymember_partymember_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: place_place_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: place_place_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: place_visit; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: VIEW place_visit; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: placecorrelation; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE placecorrelation (
    placecorrelation_id int(11) NOT NULL,
    parentplace_id int(11) NOT NULL,
    childplace_id int(11) NOT NULL,
    placeconvergence varchar(255) NOT NULL
);


--
-- Name: placecorrelation_placecorrelation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: placecorrelation_placecorrelation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: placename; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE placename (
    placename_id int(11) NOT NULL,
    parent_id int(11),
    rank varchar(255) NOT NULL,
    placename varchar(255) NOT NULL
);


--
-- Name: TABLE placename; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: placename_ancestor; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE placename_ancestor (
    placename_id int(11) NOT NULL,
    ancestor_id int(11) NOT NULL
);


--
-- Name: TABLE placename_ancestor; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: placename_placename_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: placename_placename_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: plant; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE plant (
    plant_id int(11) NOT NULL
);


--
-- Name: TABLE plant; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: plant_plant_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: plant_plant_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: plantobservation_plantobservation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: plantobservation_plantobservation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: plot; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: VIEW plot; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: project_project_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: project_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: projectcontributor; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE projectcontributor (
    projectcontributor_id int(11) NOT NULL,
    project_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    role varchar(255)
);


--
-- Name: projectcontributor_projectcontributor_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: projectcontributor_projectcontributor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: provider_count; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE provider_count (
    dataprovider varchar(255) NOT NULL,
    dataset varchar(255) NOT NULL,
    records varchar(255),
    sourcetype varchar(255),
    observationtype varchar(255)
);


--
-- Name: sourcename; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE sourcename (
    sourcelist_id int(11) NOT NULL,
    name varchar(255) NOT NULL,
    matched_source_id int(11)
);


--
-- Name: provider_count_view; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: range_modeling_input; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: revision; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE revision (
    revision_id int(11) NOT NULL,
    tablename varchar(255) NOT NULL,
    tableattribute varchar(255) NOT NULL,
    tablerecord int(11) NOT NULL,
    previousvaluetext varchar(255) NOT NULL,
    previousvaluetype varchar(255) NOT NULL,
    previousrevision_id int(11),
    revisiondate date NOT NULL
);


--
-- Name: revision_revision_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: revision_revision_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: soilsample; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE soilsample (
    soilsample_id int(11) NOT NULL,
    locationevent_id int(11) NOT NULL,
    horizon varchar(255) DEFAULT 'unknown' NOT NULL,
    description varchar(255),
    depthtop_m double,
    depthbottom_m double,
    color varchar(255),
    texture varchar(255),
    organic_fraction double,
    sand_fraction double,
    silt_fraction double,
    clay_fraction double,
    coarse_fraction double,
    ph double,
    acidity_fraction double,
    basesaturation_fraction double,
    cationexchangecapacity_cmol_kg double,
    conductivity double,
    carbon_fraction double,
    phosphorus_fraction double,
    potassium_fraction double,
    magnesium_fraction double,
    nitrogen_fraction double,
    calcium_fraction double,
    sodium_fraction double
);


--
-- Name: soilsample_soilsample_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: soilsample_soilsample_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: soiltaxon; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE soiltaxon (
    soiltaxon_id int(11) NOT NULL,
    soilcode varchar(255),
    soilname varchar(255),
    soillevel int(11),
    soilparent_id int(11),
    soilframework varchar(255)
);


--
-- Name: soiltaxon_soiltaxon_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: soiltaxon_soiltaxon_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: source_source_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: source_source_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: sourcecontributor; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE sourcecontributor (
    sourcecontributor_id int(11) NOT NULL,
    source_id int(11) NOT NULL,
    sourceparty_id int(11) NOT NULL,
    role varchar(255),
    `order` int(11)
);


--
-- Name: sourcecontributor_sourcecontributor_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: sourcecontributor_sourcecontributor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: sourcelist_sourcelist_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: sourcelist_sourcelist_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: specimen; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE specimen (
    specimen_id int(11) NOT NULL
);


--
-- Name: TABLE specimen; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: specimen_specimen_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: specimen_specimen_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: specimenreplicate_specimenreplicate_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: specimenreplicate_specimenreplicate_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: stemobservation_stemobservation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: stemobservation_stemobservation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: stratum_stratum_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: stratum_stratum_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxon_trait; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxon_trait (
    `scientificName` varchar(255) NOT NULL,
    `measurementType` varchar(255) NOT NULL,
    `measurementValue` varchar(255),
    `measurementUnit` varchar(255)
);


--
-- Name: TABLE taxon_trait; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: trait; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE trait (
    trait_id int(11) NOT NULL,
    taxonoccurrence_id int(11) NOT NULL,
    name varchar(255) NOT NULL,
    value varchar(255),
    units varchar(255)
);


--
-- Name: taxon_trait_view; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: taxonalt; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonalt (
    taxonalt_id int(11) NOT NULL,
    taxondetermination_id int(11) NOT NULL,
    taxonlabel_id int(11) NOT NULL,
    taxonaltfit varchar(255),
    taxonaltconfidence varchar(255),
    taxonaltnotes varchar(255)
);


--
-- Name: taxonalt_taxonalt_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonalt_taxonalt_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxonconcept; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonconcept (
    taxonlabel_id int(11) NOT NULL,
    concept_reference_id int(11)
);


--
-- Name: TABLE taxonconcept; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonconcept.concept_reference_id; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonconcept_taxonlabel_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonconcept_taxonlabel_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxoncorrelation; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxoncorrelation (
    taxoncorrelation_id int(11) NOT NULL,
    taxonstatus_id int(11) NOT NULL,
    taxonlabel_id int(11) NOT NULL,
    plantconvergence varchar(255) NOT NULL,
    correlationstart date NOT NULL,
    correlationstop date
);


--
-- Name: taxoncorrelation_taxoncorrelation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxoncorrelation_taxoncorrelation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxondetermination_taxondetermination_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxondetermination_taxondetermination_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxonlabel_relationship; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonlabel_relationship (
    descendant_id int(11) NOT NULL,
    ancestor_id int(11) NOT NULL,
    relationship varchar(255) DEFAULT 'is included in' NOT NULL
);


--
-- Name: TABLE taxonlabel_relationship; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: COLUMN taxonlabel_relationship.relationship; Type: COMMENT; Schema: public; Owner: -
--




--
-- Name: taxonlabel_taxonlabel_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonlabel_taxonlabel_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxonlineage; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonlineage (
    taxonlineage_id int(11) NOT NULL,
    childtaxonstatus_id int(11) NOT NULL,
    parenttaxonstatus_id int(11) NOT NULL
);


--
-- Name: taxonlineage_taxonlineage_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonlineage_taxonlineage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxonoccurrence_taxonoccurrence_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonoccurrence_taxonoccurrence_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxonstatus; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE taxonstatus (
    taxonstatus_id int(11) NOT NULL,
    taxonlabel_id int(11) NOT NULL,
    party_id int(11),
    taxonlabelstatus varchar(255) DEFAULT 'undetermined' NOT NULL,
    source_id int(11),
    plantpartycomments varchar(255),
    startdate date,
    stopdate date
);


--
-- Name: taxonstatus_taxonstatus_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonstatus_taxonstatus_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: taxonverbatim_taxonverbatim_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: taxonverbatim_taxonverbatim_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: telephone; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE telephone (
    telephone_id int(11) NOT NULL,
    party_id int(11) NOT NULL,
    phonenumber varchar(255) NOT NULL,
    phonetype varchar(255) NOT NULL
);


--
-- Name: telephone_telephone_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: telephone_telephone_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: threatened_taxonlabel_view; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: tnrs_input_name; Type: VIEW; Schema: public; Owner: -
--




--
-- Name: trait_trait_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: trait_trait_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: userdefined; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE userdefined (
    userdefined_id int(11) NOT NULL,
    userdefinedname varchar(255) NOT NULL,
    userdefinedmetadata varchar(255),
    userdefinedcategory varchar(255),
    userdefinedtype varchar(255) DEFAULT 'varchar(255)' NOT NULL,
    tablename varchar(255) NOT NULL
);


--
-- Name: userdefined_userdefined_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: userdefined_userdefined_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




--
-- Name: voucher; Type: TABLE; Schema: public; Owner: -; Tablespace: 
--

CREATE TABLE voucher (
    voucher_id int(11) NOT NULL,
    taxonoccurrence_id int(11) NOT NULL,
    specimenreplicate_id int(11) NOT NULL
);


--
-- Name: voucher_voucher_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--




--
-- Name: voucher_voucher_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--




USE public_validations;

--
-- Name: _plots_01_count_of_projects; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_02_list_of_project_names; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_03_count_of_all_plots_in_this_source; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_04_count_of_plots_in_each_project_in_this_source; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_05_list_of_plot_codes_by_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_06_list_of_plots_with_stem_measurements; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_06a_list_of_stems; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_07_list_of_plots_which_use_counts_of_indiv_per_species; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_08_list_of_plots_which_use_percent_cover; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_09_list_of_plots_which_use_line_intercept; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_10_count_of_individuals_per_plot_in_each_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_10_count_of_individuals_per_plot_in_each_project; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_10a_aggregate_observation_individual_counts; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_10a_aggregate_observation_individual_counts; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_11_count_of_stems_per_plot_in_each_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_11_count_of_stems_per_plot_in_each_project; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_16_intercepts_for_each_verb_taxon_in_each_plot_each_proj; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_16_intercepts_for_each_verb_taxon_in_each_plot_each_proj; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_17_count_of_subplots_per_plot_for_each_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_18_list_of_subplots_codes_for_each_plot_for_each_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_18_list_of_subplots_codes_for_each_plot_for_each_project; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _plots_19_count_of_censuses_per_plot_in_each_project; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _plots_20_tnrs_names; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _plots_20_tnrs_names; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_01_count_of_total_records_specimens_in_source_db; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _specimens_01_count_of_total_records_specimens_in_source_db; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_02_count_of_unique_verbatim_families; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_03_list_of_verbatim_families; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_04_count_of_species_binomials; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_05_list_of_species_binomials; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_07_list_of_verbatim_subspecific_taxa_with_author; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_08_count_of_unique_verbatim_author_taxa_with_genus; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_09_list_of_unique_verbatim_author_taxa_with_genus; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_10_count_number_of_records_by_institution; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_11_list_of_three_standard_political_divisions; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _specimens_11_list_of_three_standard_political_divisions; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_12_distinct_collector_name_collect_num_date_w_count; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_13a_list_of_all_verbatim_lat_long; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_13b_list_of_all_decimal_lat_long; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_14_count_of_all_invalid_verbatim_lat_long; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_15_list_distinct_locality_descriptions; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _specimens_16_list_distinct_specimen_descriptions; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _traits_01_count_records; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _traits_01_count_records; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _traits_02_count_trait_names; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _traits_03_list_trait_names; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _traits_04_count_records_per_trait; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _traits_05_count_taxa; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _traits_05_count_taxa; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _traits_06_list_distinct_taxa; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: VIEW _traits_06_list_distinct_taxa; Type: COMMENT; Schema: public_validations; Owner: -
--




--
-- Name: _traits_07_trait_value_and_units; Type: VIEW; Schema: public_validations; Owner: -
--




--
-- Name: _traits_08_taxonname_trait_and_value; Type: VIEW; Schema: public_validations; Owner: -
--




USE default_schema;

--
-- Name: address_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: TAXONOBSERVATION_ID__@VegBank__.taxonObservation@vegpath.org; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: classcontributor_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commclass_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commconcept_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commcorrelation_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commdetermination_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commlineage_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commname_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commstatus_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: commusage_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: coordinates_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: coverindex_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: covermethod_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: definedvalue_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: disturbanceobs_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: graphic_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: location_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: locationevent_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: locationeventcontributor_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: locationeventsynonym_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: locationplace_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: method_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: methodtaxonclass_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: note_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: notelink_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: party_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: partymember_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: place_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: placecorrelation_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: placename_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: plant_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: plantobservation_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: project_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: projectcontributor_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: revision_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: soilsample_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: soiltaxon_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: source_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: sourcecontributor_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: sourcelist_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: specimen_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: specimenreplicate_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: stemobservation_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: stratum_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxonalt_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxoncorrelation_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxondetermination_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxonlabel_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxonlineage_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxonoccurrence_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxonstatus_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: taxonverbatim_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: telephone_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: trait_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: userdefined_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Name: voucher_id; Type: DEFAULT; Schema: public; Owner: -
--




--
-- Data for Name: address; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: address_address_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: aggregateoccurrence; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: aggregateoccurrence_aggregateoccurrence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: analytical_stem; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: analytical_stem_TAXONOBSERVATION_ID__@VegBank__.taxonObserv_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: classcontributor; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: classcontributor_classcontributor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commclass; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commclass_commclass_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commconcept; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commconcept_commconcept_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commcorrelation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commcorrelation_commcorrelation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commdetermination; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commdetermination_commdetermination_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commlineage; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commlineage_commlineage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commname; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commname_commname_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commstatus; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commstatus_commstatus_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: commusage; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: commusage_commusage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: coordinates; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: coordinates_coordinates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: coverindex; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: coverindex_coverindex_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: covermethod; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: covermethod_covermethod_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: cultivated_family_locations; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Costa Rica');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Panama');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Colombia');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Venezuela');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Ecuador');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Peru');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Bolivia');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Chile');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Argentina');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Paraguay');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Uruguay');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Brazil');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Guyana');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'French Guiana');
INSERT INTO cultivated_family_locations VALUES ('Pinus', 'Suriname');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Venezuela');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Ecuador');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Peru');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Bolivia');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Chile');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Argentina');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Paraguay');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Uruguay');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Brazil');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Guyana');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'French Guiana');
INSERT INTO cultivated_family_locations VALUES ('Quercus', 'Suriname');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Nicaragua');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Costa Rica');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Panama');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Colombia');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Venezuela');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Ecuador');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Peru');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Bolivia');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Chile');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Argentina');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Paraguay');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Uruguay');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Brazil');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Guyana');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'French Guiana');
INSERT INTO cultivated_family_locations VALUES ('Acer', 'Suriname');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Nicaragua');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Costa Rica');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Panama');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Colombia');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Venezuela');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Ecuador');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Peru');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Bolivia');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Chile');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Argentina');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Paraguay');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Uruguay');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Brazil');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Guyana');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'French Guiana');
INSERT INTO cultivated_family_locations VALUES ('Abies', 'Suriname');
INSERT INTO cultivated_family_locations VALUES ('Arecaceae', 'Canada');


--
-- Name: dba_preassignacccode_dba_requestnumber_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: definedvalue; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: definedvalue_definedvalue_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: disturbanceobs; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: disturbanceobs_disturbanceobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: family_higher_plant_group; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO family_higher_plant_group VALUES ('Anthocerotaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Dendrocerotaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Notothyladaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Phymatocerotaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leiosporocerotaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Polytrichaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Funariaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Dicranaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Ditrichaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Mniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Andreaeaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Sematophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Sphagnaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hylocomiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Bryaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Tetraphidaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Brachytheciaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pottiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Bartramiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Fissidentaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hedwigiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Orthotrichaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Amblystegiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Plagiotheciaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hypnaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Thuidiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Erpodiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Encalyptaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Ptychomitriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rhabdoweisiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Splachnaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rhachitheciaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Calymperaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Buxbaumiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hookeriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Timmiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leucodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Grimmiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Aulacomniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hypnodendraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rhizogoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leptostomataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Meesiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Seligeriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Fontinalaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Neckeraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pterobryaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hypopterygiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Climaciaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Schistostegaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Takakiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leucobryaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Trachylomataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Prionodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Anomodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Cryphaeaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leptodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leskeaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lembophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Entodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Echinodiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Stereophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Daltoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Fabroniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lepyrodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Meteoriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Myuriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Phyllodrepaniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Phyllogoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Ptychomniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rutenbergiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Theliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Bryoxiphiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Archidiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Andreaeobryaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Racopilaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Drummondiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Diphysciaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Scouleriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Orthodontiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rhacocarpaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Leucomiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pilotrichaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rhytidiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pleuroziopsidaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Myriniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pterigynandraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Helodiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Oedipodiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Gigaspermaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Disceliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Helicophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Catagoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Catoscopiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Mitteniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pterobryellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Bruchiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Rigodiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Calliergonaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Bryobartramiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Ambuchananiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Symphyodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Eustichiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Orthorrhynchiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Regmatodontaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Serpotortellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pleurophascaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Saulomataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Schimperobryaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pylaisiadelphaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Braithwaiteaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Flatbergiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hypodontiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pulchrinodaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Miyabeaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Micromitriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Jungermanniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lepidoziaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Marchantiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Aytoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Metzgeriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Haplomitriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Sphaerocarpaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Aneuraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pelliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Conocephalaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Ricciaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Scapaniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Calypogeiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Plagiochilaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Trichocoleaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lunulariaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Monocleaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Fossombroniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Herbertaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Jubulaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Porellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Targioniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lejeuneaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Ptilidiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pseudolepicoleaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Cephaloziaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Geocalycaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pallaviciniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Oxymitraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Makinoaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Corsiniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Riellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Treubiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Hymenophytaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Schistochilaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Acrobolbaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Cleveaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Blasiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Adelanthaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lepidolaenaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Radulaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lepicoleaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Cyathodiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Exormothecaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Monosoleniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Wiesnerellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Gymnomitriaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Mastigophoraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Vetaformataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Balantiopsidaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Goebeliellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Neotrichocoleaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Pleuroziaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Trichotemnomataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Delavayellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Allisoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Phyllothalliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Antheliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Cephaloziellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Gyrothyraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Brevianthaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Jackiellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Arnelliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Calyculariaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Frullaniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Jamesoniellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Mizutaniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Petalophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Neohodgsoniaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Dumortieraceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Moerckiaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Herzogianthaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Perssoniellaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Lophocoleaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Myliaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Blepharidophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Solenostomataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Endogemmataceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Anastrophyllaceae', 'bryophytes');
INSERT INTO family_higher_plant_group VALUES ('Selaginellaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Lycopodiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Isoetaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Psilotaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Equisetaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Marattiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Dicksoniaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Gleicheniaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Polypodiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Osmundaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Marsileaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Pteridaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Schizaeaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Ophioglossaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Blechnaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Dryopteridaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Thelypteridaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Hymenophyllaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Vittariaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Oleandraceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Cheiropleuriaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Cyatheaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Davalliaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Dennstaedtiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Dipteridaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Grammitidaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Lindsaeaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Lomariopsidaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Matoniaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Metaxyaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Plagiogyriaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Salviniaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Azollaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Loxsomataceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Aspleniaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Lophosoriaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Hymenophyllopsidaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Woodsiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Lygodiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Anemiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Thyrsopteridaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Cibotiaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Culcitaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Saccolomataceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Onocleaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Tectariaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Cystopteridaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Hemidictyaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Diplaziopsidaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Rhachidosoraceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Athyriaceae', 'ferns and allies');
INSERT INTO family_higher_plant_group VALUES ('Magnoliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Winteraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Canellaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Calycanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lauraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ranunculaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Menispermaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Coriariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Papaveraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ulmaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cannabaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Moraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Urticaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Fagaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Betulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Casuarinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Phytolaccaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nyctaginaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aizoaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Amaranthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Caryophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Portulacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Didiereaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Basellaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Molluginaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cactaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Vitaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rhamnaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Polygonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Actinidiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Malvaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Caricaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cucurbitaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Begoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Passifloraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Salicaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Brassicaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Moringaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sapotaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rosaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cephalotaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cunoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Crassulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Saxifragaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Fabaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lythraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Myrtaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Onagraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Combretaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Santalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Loranthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Olacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Euphorbiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Simmondsiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Buxaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Linaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Humiriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Anacardiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Burseraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tropaeolaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Geraniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Oxalidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Apiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Araliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Apocynaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Solanaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Convolvulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydrophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lamiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Oleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Scrophulariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pedaliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Acanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lentibulariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Caprifoliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Adoxaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Asteraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Malpighiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Polygalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Garryaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nyssaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aquifoliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Celastraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Corynocarpaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dichapetalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Icacinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Salvadoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Proteaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Primulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cyrillaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ericaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sarraceniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Droseraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nepenthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Campanulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Daphniphyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Eucommiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Platanaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Trochodendraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nymphaeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cabombaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nelumbonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Plumbaginaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Alismataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Araceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Poaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cyperaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bromeliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Marantaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cannaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Costaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Musaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Zingiberaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Heliconiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lowiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Strelitziaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Amaryllidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dioscoreaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hypoxidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Liliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Smilacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Arecaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pandanaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Typhaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Joinvilleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Commelinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Orchidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rapateaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Juncaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Restionaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Flagellariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Agavaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Potamogetonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pontederiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Velloziaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Goodeniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Clethraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Myrsinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Theophrastaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Diapensiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cercidiphyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Eupteleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Juglandaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aristolochiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Schisandraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Chloranthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Piperaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Saururaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Akaniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Valerianaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ebenaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Styracaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Symplocaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gentianaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Limnanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Boraginaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Verbenaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hernandiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Monimiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Amborellaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Erythroxylaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Annonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Myristicaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Austrobaileyaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Degeneriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Eupomatiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Himantandraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lactoridaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lardizabalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sabiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Chrysobalanaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Crossosomataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Grossulariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydrangeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pittosporaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rutaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sapindaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Simaroubaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bignoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Menyanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Polemoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Fouquieriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Violaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dilleniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Paeoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Haloragaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gunneraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rubiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Achatocarpaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Balanophoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Balsaminaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bretschneideraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bruniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Connaraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cyclanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cymodoceaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Datiscaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Elaeagnaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Elaeocarpaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Eriocaulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gesneriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gyrostemonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydnoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydrocharitaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Iridaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Loganiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Myricaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Neuradaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nothofagaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Opiliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rafflesiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Resedaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Scheuchzeriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Surianaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Theaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Vochysiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Xanthorrhoeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Zosteraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ceratophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Loasaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Geissolomataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Escalloniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aextoxicaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Circaeasteraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Thymelaeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Melastomataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Heteropyxidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Memecylaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Oliniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Penaeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rhizophoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sarcolaenaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Alzateaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Asparagaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dipsacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dipterocarpaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Colchicaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tetrachondraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Phrymaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Berberidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Calyceraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pentaphragmataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Stylidiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sphenocleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Stilbaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Martyniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hamamelidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cornaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Curtisiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Griseliniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Helwingiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Acoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Kirkiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Meliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Zygophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Philydraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hyacinthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tecophilaeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Turneraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Barbeyaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Burmanniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Stemonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Alseuosmiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Butomaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ruscaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Melanthiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cynomoriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Luzuriagaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Asphodelaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hemerocallidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Blandfordiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Doryanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ixioliriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Asteliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Podostemaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Haemodoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Grubbiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Marcgraviaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Limnocharitaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aponogetonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Juncaginaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Posidoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ruppiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Clusiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ochnaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Alstroemeriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Argophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Phellinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Columelliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Phyllonomaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Quiinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Medusagynaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Boryaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Philesiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Morinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rhoipteleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ticodendraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Anisophylleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ancistrocladaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dioncophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Frankeniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rhabdodendraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tamaricaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Physenaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gomortegaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bixaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cochlospermaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sphaerosepalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Krameriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cistaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Caryocaraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Malesherbiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Mayacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Thurniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Xyridaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dasypogonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Trigoniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Balanopaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Myrothamnaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gelsemiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Picramniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Berberidopsidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Melianthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Oncothecaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tofieldiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Stachyuraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Staphyleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rousseaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ixerbaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Huaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Atherospermataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Trimeniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lanariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Xeronemataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Rhipogonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cytinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Mitrastemonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Altingiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Iteaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Penthoraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pterostemonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tetracarpaeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Setchellanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tovariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pentadiplandraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Koeberliniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Biebersteiniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nitrariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Muntingiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Vivianiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sarcobataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Diervillaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Linnaeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Plocospermataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Vahliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Orobanchaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Schlegeliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ternstroemiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Roridulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tetrameristaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Montiniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hanguanaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Centrolepidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ecdeiocoleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Anarthriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Siparunaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Crypteroniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Achariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aphloiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ixonanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lacistemataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Asteropeiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dirachmaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Petrosaviaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nartheciaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Emblingiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Carlemanniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Polyosmaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pandaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sphenostemonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Bonnetiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cardiopteridaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ctenolophonaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Elatinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lepidobotryaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lophopyxidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Paracryphiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pentaphylacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Peridiscaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Strasburgeriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Torricelliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Corsiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Calceolariaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Paulowniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Plantaginaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Linderniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Themidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Stemonuraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pennantiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Quillajaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Euphroniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Laxmanniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydatellaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tapisciaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Dipentodontaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Brunelliaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Tetramelaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Goupiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Triuridaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Barbeuiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Drosophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gisekiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Halophytaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Stegnospermataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Misodendraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aphanopetalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Parnassiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Putranjivaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Phyllanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Picrodendraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Peganaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Sladeniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Byblidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydrostachyaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Myodocarpaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Campynemataceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Petermanniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Capparaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cleomaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Apodanthaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Thomandersiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Schoepfiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Metteniusaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hydroleaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Gerrardinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Centroplacaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Erythropalaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Lophiocarpaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Agdestidaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Petiveriaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Guamatelaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Limeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hypericaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Irvingiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Peraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Calophyllaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Talinaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Anacampserotaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Montiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Xanthoceraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aceraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Hippocastanaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Strombosiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Ximeniaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Coulaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Aptandraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Octoknemaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Comandraceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Thesiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Cervantesiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Nanodeaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Amphorogynaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Viscaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Borthwickiaceae', 'flowering plants');
INSERT INTO family_higher_plant_group VALUES ('Pinaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Podocarpaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Cupressaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Taxaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Araucariaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Cephalotaxaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Sciadopityaceae', 'gymnosperms (conifers)');
INSERT INTO family_higher_plant_group VALUES ('Zamiaceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Cycadaceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Stangeriaceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Ginkgoaceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Welwitschiaceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Gnetaceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Ephedraceae', 'gymnosperms (non-conifer)');
INSERT INTO family_higher_plant_group VALUES ('Porphyridiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodomelaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gelidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Endocladiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Palmariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dictyotaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ectocarpaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Alariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Scytosiphonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cryptomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Prorocentraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vaucheriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tribonemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Fucaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sargassaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chordaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dunaliellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlamydomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spondylomoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Volvocaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oocystaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Scenedesmaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlorococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hydrodictyaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ulvaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Coleochaetaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bryopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Codiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dasycladaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlorokybaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Characeae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Klebsormidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Zygnemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Saprolegniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peronosporaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pythiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lagenidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trypanosomatidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bodonidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hexamitidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vahlkampfiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hartmannellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eimeriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sarcocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Halteriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Colpodidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Isotrichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Colepidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gloeodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sphacelariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Syringodermataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Theileriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Perkinsidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acanthoecidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Furcellariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phyllophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Elphidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thalassiosiraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gigartinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Haplosporidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Desmidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mesotaeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Goniomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heterochordariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ralfsiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Desmarestiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bangiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Compsopogonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acrochaetiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ahnfeltiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bonnemaisoniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Batrachospermaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lemaneaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ceramiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Delesseriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Corallinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cystocloniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dumontiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gloiosiphoniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hypneaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Kallymeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Solieriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plocamiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Halymeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Polyideaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhizophyllidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sphaerococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gracilariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hildenbrandiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Liagoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodogorgonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Champiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lomentariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodymeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Babesiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chaetophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Derbesiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Laminariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Erythropeltidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thraustochytriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyanophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gonyaulacaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eupodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stephanopyxidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhizosoleniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Skeletonemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bacillariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Fragilariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cryptosporidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gregarinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cohnilembidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyclidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudocohnilembidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Uronematidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trimyemidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plagiopylidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lessoniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Melosiraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Labyrinthulidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dasyaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nizymeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phacelocarpaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gromiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amoebidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pedinomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mesostigmataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlorodendraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Scourfieldiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Caulerpaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dichotomosiphonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ostreobiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Udoteaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cladophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Siphonocladaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Valoniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trentepohliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ulvellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aphanochaetaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Schizomeridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlorellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Selenastraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Coccomyxaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eremosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hypnomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Palmellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tetrasporaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Haematococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Elakatotrichaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Paraphysomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spirostomidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plasmodiophoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ctenocladaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trachelocercidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Metopidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Glaucocystaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gloeochaetaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Caulacanthaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tichocarpaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sarcodiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Coscinodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeodactylaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhaphoneidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thalassionemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Botryococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ceratiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Crypthecodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodophysemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodothamniellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Euglyphidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Paulinellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Prorodontidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mamiellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pycnococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Schizymeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Proteromonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thaumatomastigidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heteromitidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cercomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oikomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Globigerinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bolivinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Saccamminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Astrorhizidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Soritidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peneroplidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Asteromonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tetrabaenaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ophryoscolecidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dinophysiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Astrephomenaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sporolithaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hemidiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aulacoseiraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chaetocerotaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Corethraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cymatosiraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lithodesmiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hemiaulaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lauderiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sebdeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mychodeaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Globorotaliidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chaetopeltidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phacotaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gonatozygaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sphaeropleaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Treubariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bursariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Urostylidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oxytrichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ostreopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Catenulaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Caenomorphidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Strombidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Arthrocladiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gruberellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysolepidomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Albuginaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudolithiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thalassicollidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sphaerozoidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Collosphaeridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chordariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Leptomyxidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ceratocoryaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gymnodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heterocapsaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peridiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Noctilucaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Naviculaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trichonymphidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Psilosiphonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thoreaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hantkeninidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rotaliidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Discorbidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Glabratellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Balantidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tracheliidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cycloposthiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Macropodiniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pyrophacaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Galaxauraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cladostephaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cutleriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Himanthaliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeothamniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Siluaniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Codonosigidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Salpingoecidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Faucheaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pleurochloridellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lankesterellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acanthometridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Kentrophoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ancyromonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Opisthonectidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vorticellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tilopteridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hormosiraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ochromonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amoebophryaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Syndiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Duboscquellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bryophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Woodruffiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Grossglockneriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyrtolophosididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bryometopidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Suessiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Durvillaeaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Seirococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nyctotheridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Opalinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vannellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Notheiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gomphonemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pyrsonymphidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oxymonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysoamoebidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hibberdiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysocapsaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chromulinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysosaccaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hydruraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeoplacaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cladotrichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amphisiellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Euplotidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gastrocirrhidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Uronychiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhipidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Holomastigotoididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudochordaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sporochnaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Orchitophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Monocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ophryocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodochaetaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhizidiomycetaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hyphochytriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stypocaulaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Choristocarpaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Verrucalvaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Balliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Micractiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Miliolidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Alveolinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phyllariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Closteriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Neochloridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeosaccionaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Prasiolaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Haliphthoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Monocercomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Malawimonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Echinamoebidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Flabellulidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stemonitidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Clastodermataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aspidiscidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phragmonemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Strombidinopsidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Monomasticaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Adenocystaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acrosymphytaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gainiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acinetosporaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Jakobidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Certesiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Monostromataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nucleariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Epistylidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lecudinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eurychasmataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Allogromiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Saccaminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chaetosphaeridiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Glenodiniineae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Microsporaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amylovoracidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Polycostidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Leptocylindraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ephelotidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Discophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heliophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trochamminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lituolidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acrotrichaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Characiosiphonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pelomyxidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tokophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Operculariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ophrydiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vaginicolidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Zoothamniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Astylozoidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Apusomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Balbianiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Naccariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peyssonneliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nemastomataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Calosiphoniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oxyrrhinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mastigamoebidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Colpodellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trinematidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyphoderiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudodifflugiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vexilliferidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Codonellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trichomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Strobilidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Metacylididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tintinnidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trachelostylidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Entomoneidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sphenomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Reticulomyxidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Kornmanniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Collodictyonidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nonionidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Retortamonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Raphidiophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heterophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acanthocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Characiochloridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heteropediaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pleurochloridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Centritractaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ophiocytiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mischococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Botryidiopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Leidyanidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eunotiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nummulitidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pleurosigmataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Philasteridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trichodinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amphileptidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Didiniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Enchelyidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trachelophyllidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Litonotidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pleuronematidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tsengiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Paramoebidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Adeleidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hepatozoidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Calcarinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Planorbulinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cassidulinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Planulinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sproplectamminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Textulariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eggerellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudogaudryinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Golenkiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ulotrichaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trichiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bellerocheaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Biddulphiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Striatellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Triceratiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Licmophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhabdonemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Podolampaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Codonellopsidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Xystonellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhabdonellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Enteridiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Licnophoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Schizocaryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bathysiphonidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cibicididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lagynidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hormosinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Syringamminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Buliminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chilostomellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Uvigerinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cocconeidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lyrellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Achnanthaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Anomoeoneidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pinnulariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sellaphoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cymbellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heliopeltaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyclophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Parauronematidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hauerinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Glandulinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peritromidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stentoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Folliculinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Blepharismidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Condylostomatidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Climacostomidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Geleiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spongodiscidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Streblomastigidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Anadyomenaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pulleniatinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hapalidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Selenidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plagiogrammaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ishigeaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lipotrophidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Syncystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Clathrulinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aulosphaeridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Coelodendridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aulacanthidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thalassophysidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bicosoecidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cafeteriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlamydodontidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dysteriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dicranemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Corynomorphaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acinetidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oxytoxaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Erythrotrichiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Botryochloridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sticholonchidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Thecamoebidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeostrophionaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pihiellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhopalodiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hartmannulidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ellobiopsidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Palavasciaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eccrinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amoebidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Symbiodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acrotylaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Corynocystaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cruoriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cubiculosporaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mychodeophyllaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudoanemoniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rissoellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Wurdemanniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Areschougiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Polykrikaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Isochonidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hemidiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Protoperidiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pyrophaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeophilaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyanidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amphipleuraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hyalodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Attheyaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stauroneidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Scinaiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dorataspididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hexalaspididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amphilithiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Gigartacontidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Anoplophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Theoperidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pterocorythidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Choreocolacaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pterocladiophilaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mesodiniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Calyptrosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Teranymphidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Staurojoeninidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hoplonymphidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Polyphysaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bromeliophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tetrahymenidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Turaniellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Glaucomidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudourostylidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Coccodiscidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Echinosteliidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cribrariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rzehakinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Polymastigidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Diadesmidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Enteromonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stauraconidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudokeronopsidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Loxocephalidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rosalinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cochliopodiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stainforthiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Botrydiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Microchlamyiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Arcellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Centropyxidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heleoperidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hyalospheniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trigonopyxidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plagiopyxidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Siphogenerinoididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudoparrellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vampyrellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Anomalinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nodosariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Osangulariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Alabaminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Challengeriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Medusettidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Concharidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Katablepharidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Frontoniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Parameciidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Urocentridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lembadionidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Apofrondoniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Urosporidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aggregatidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Fursenkoinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Orthodonellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhytidocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ebriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ethmosphaeridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plagoniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pyloniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Litheliidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mesosporaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Braarudosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spathidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lacrymariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Homalozoonidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Discosporangiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Buliminellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Buliminoididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudocodiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Halimedaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Scoresbyellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rigidotrichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Saccinobaculidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Discocephalidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Candeinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chattonidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlorocystidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spirofilidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pfiesteriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Epalxellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Loxodidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Collozoidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Actinommidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Costariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Akkesiphycaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Halosiphonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pleurochrysidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phaeocystaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Calcidiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Syracosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Coccolithaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hymenomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhabdosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Isochrysidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Noelaerhabdaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Prymnesiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Helicosphaeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pavlovaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Synuraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mallomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Myxochloridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stylococcaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eustigmataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Monodopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudocharaciopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phytodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Protoraphidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tabellariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Neidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cavosteliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ceratiomyxaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Protosteliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Reticulariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Myzocytiopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stylonemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Oxyphysaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Urotrichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bardeliellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hausmanniellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Marynidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sagittariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sorogenidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spirodiniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Paraisotrichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Guembelitriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Troglodytellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Colpodidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trichosidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodachlyaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Nassulidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pseudomicrothoracidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Furgasoniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Microthoracidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sainouridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dictyocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Anaulaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Foettingeriidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Onslowiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Buetschliidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Blepharocorythidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Robertinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Histiobalantiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Balamuthiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plagiotropidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Histionidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Holostichidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amphisoleniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Citharistaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heterogloeaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Geminigeraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pyrenomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chroomonadaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hemiselmidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lophodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Epiclintidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Holophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phyllosiphonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tontoniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tubiferaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chytriodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Actinocephalidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hirmocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stenophoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sphaerocystidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stylocephalidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Warnowiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Vacuolariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chattonellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Colaconemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Balanionidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhodellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Parentodiniidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cinetochilidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Placidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hemispeiridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plesiotrichopidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Paraspathidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Calyptosporidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dinobryaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Parabirojimidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ganymedidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Triparmaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Simplicimonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Honigbergiellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dientamoebidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hexamastigidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lophomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tritrichomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hypotrichomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spirotrichosomidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Fryeellaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Hymenocladiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Polydiniellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Wrangeliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Kofoidiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Platyophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Radiophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chlamydophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Deltopylidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Haemeschariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ancistridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phyllostauridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Astrolithidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Kreyellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Meiodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pithophoraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Okellyaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rufusiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Boldiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ethmodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Asterolampraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Bryophidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Valvulinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Globotextulariidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pythiogetonaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cephaloidophoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Uradiophoridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Porosporidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Salisapiliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stokesiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ovulinatidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Larnacillidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acropisthiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sarcomeniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ophthalmidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Spiroplectamminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Clausilocolidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Berkeleyaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Diploneidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Achnanthidiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Scoliotropidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Toxariaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Brachidiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Kareniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Aulacodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acanthocerataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysanthemodiscaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Pinguiochrysidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ichthyobodonidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Loboceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Crossocarpaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tintinnidiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Ptychocylididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhabdamminidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Patellinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Trissocyclidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Plagiacanthidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lynnellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dactylosomatidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Haemogregarinidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Glenodiniopsidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cryptodifflugiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Goceviidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tsukubamonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysomeridaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Jaoaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lesquereusiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Elaeomyxaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Physaraceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Didymiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Prototrachelocercidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Amphidomataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acanthochiasmidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acanthoplegmidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Diploconidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Lithopteridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Goniodomataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cladopyxidaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Psalteriomonadidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Peranemaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Phacaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Euglenaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Eudubosquellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chrysochromulinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Guttulinaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Acrasiaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Stephanoecidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Difflugiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Tovelliaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Chilodonellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Sonderiidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Usconophryidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Cyttarocylididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Undellidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Dianemataceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Rhizosphaeridae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Biecheleriaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Heterodiniaceae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Liceidae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Epiplocylididae', NULL);
INSERT INTO family_higher_plant_group VALUES ('Mantamonadidae', NULL);


--
-- Data for Name: geoscrub_input; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: graphic; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: graphic_graphic_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: higher_plant_group_nodes; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO higher_plant_group_nodes VALUES ('bryophytes', 'Anthocerotophyta');
INSERT INTO higher_plant_group_nodes VALUES ('bryophytes', 'Marchantiophyta');
INSERT INTO higher_plant_group_nodes VALUES ('bryophytes', 'Bryophyta');
INSERT INTO higher_plant_group_nodes VALUES ('ferns and allies', 'Lycopodiophyta');
INSERT INTO higher_plant_group_nodes VALUES ('ferns and allies', 'Moniliformopses');
INSERT INTO higher_plant_group_nodes VALUES ('flowering plants', 'Magnoliophyta');
INSERT INTO higher_plant_group_nodes VALUES ('gymnosperms (conifers)', 'Coniferophyta');
INSERT INTO higher_plant_group_nodes VALUES ('gymnosperms (non-conifer)', 'Cycadophyta');
INSERT INTO higher_plant_group_nodes VALUES ('gymnosperms (non-conifer)', 'Ginkgophyta');
INSERT INTO higher_plant_group_nodes VALUES ('gymnosperms (non-conifer)', 'Gnetophyta');
INSERT INTO higher_plant_group_nodes VALUES (NULL, 'root');


--
-- Data for Name: location; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: location_location_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: locationevent; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: locationevent_locationevent_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: locationeventcontributor; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: locationeventcontributor_locationeventcontributor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: locationeventsynonym; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: locationeventsynonym_locationeventsynonym_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: locationplace; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: locationplace_locationplace_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: method; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: method_method_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: methodtaxonclass; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: methodtaxonclass_methodtaxonclass_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: note; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: note_note_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: notelink; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: notelink_notelink_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: party; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: party_party_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: partymember; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: partymember_partymember_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: place; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: place_place_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: placecorrelation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: placecorrelation_placecorrelation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: placename; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: placename_ancestor; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: placename_placename_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: plant; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: plant_plant_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: plantobservation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: plantobservation_plantobservation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: project; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: project_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: projectcontributor; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: projectcontributor_projectcontributor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: provider_count; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: revision; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: revision_revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: soilsample; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: soilsample_soilsample_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: soiltaxon; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: soiltaxon_soiltaxon_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: source; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: source_source_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: sourcecontributor; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: sourcecontributor_sourcecontributor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: sourcelist; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: sourcelist_sourcelist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: sourcename; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: specimen; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: specimen_specimen_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: specimenreplicate; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: specimenreplicate_specimenreplicate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: stemobservation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: stemobservation_stemobservation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: stratum; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: stratum_stratum_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxon_trait; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: taxonalt; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonalt_taxonalt_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxonconcept; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonconcept_taxonlabel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxoncorrelation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxoncorrelation_taxoncorrelation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxondetermination; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxondetermination_taxondetermination_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxonlabel; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: taxonlabel_relationship; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonlabel_taxonlabel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxonlineage; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonlineage_taxonlineage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxonoccurrence; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonoccurrence_taxonoccurrence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxonstatus; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonstatus_taxonstatus_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: taxonverbatim; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: taxonverbatim_taxonverbatim_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: telephone; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: telephone_telephone_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: threatened_taxonlabel; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Data for Name: trait; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: trait_trait_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: userdefined; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: userdefined_userdefined_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



--
-- Data for Name: voucher; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- Name: voucher_voucher_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--



USE public_validations;

--
-- Data for Name: ~type._plots_01_count_of_projects; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_02_list_of_project_names; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_03_count_of_all_plots_in_this_source; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_04_count_of_plots_in_each_project_in_this_source; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_05_list_of_plot_codes_by_project; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_06_list_of_plots_with_stem_measurements; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_06a_list_of_stems; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_07_list_of_plots_which_use_counts_of_indiv_per_spe; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_08_list_of_plots_which_use_percent_cover; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_09_list_of_plots_which_use_line_intercept; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_10_count_of_individuals_per_plot_in_each_project; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_10a_aggregate_observation_individual_counts; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_11_count_of_stems_per_plot_in_each_project; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_ea; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_16_intercepts_for_each_verb_taxon_in_each_plot_eac; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_17_count_of_subplots_per_plot_for_each_project; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_18_list_of_subplots_codes_for_each_plot_for_each_p; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._plots_19_count_of_censuses_per_plot_in_each_project; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_01_count_of_total_records_specimens_in_source_; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_02_count_of_unique_verbatim_families; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_03_list_of_verbatim_families; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_04_count_of_species_binomials; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_05_list_of_species_binomials; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_06_count_of_unique_verb_subsp_taxa_with_author; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_07_list_of_verbatim_subspecific_taxa_with_auth; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_08_count_of_unique_verbatim_author_taxa_with_g; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_09_list_of_unique_verbatim_author_taxa_with_ge; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_10_count_number_of_records_by_institution; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_11_list_of_three_standard_political_divisions; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_12_distinct_collector_name_collect_num_date_w_; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_13_count_of_all_verbatim_and_decimal_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_13a_list_of_all_verbatim_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_13b_list_of_all_decimal_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_14_count_of_all_invalid_verbatim_lat_long; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_15_list_distinct_locality_descriptions; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._specimens_16_list_distinct_specimen_descriptions; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_01_count_records; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_02_count_trait_names; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_03_list_trait_names; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_04_count_records_per_trait; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_05_count_taxa; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_06_list_distinct_taxa; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_07_trait_value_and_units; Type: TABLE DATA; Schema: public_validations; Owner: -
--



--
-- Data for Name: ~type._traits_08_taxonname_trait_and_value; Type: TABLE DATA; Schema: public_validations; Owner: -
--



USE default_schema;

--
-- Name: address_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE address
    ADD CONSTRAINT address_pkey PRIMARY KEY (address_id);


--
-- Name: aggregateoccurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE aggregateoccurrence
    ADD CONSTRAINT aggregateoccurrence_pkey PRIMARY KEY (aggregateoccurrence_id);


--
-- Name: analytical_stem_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE analytical_stem
    ADD CONSTRAINT analytical_stem_pkey PRIMARY KEY (`TAXONOBSERVATION_ID__@VegBank__.taxonObservation@vegpath.org`);


--
-- Name: classcontributor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE classcontributor
    ADD CONSTRAINT classcontributor_pkey PRIMARY KEY (classcontributor_id);


--
-- Name: commclass_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commclass
    ADD CONSTRAINT commclass_pkey PRIMARY KEY (commclass_id);


--
-- Name: commconcept_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commconcept
    ADD CONSTRAINT commconcept_pkey PRIMARY KEY (commconcept_id);


--
-- Name: commconcept_unique_commdescription; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commconcept
    ADD CONSTRAINT commconcept_unique_commdescription UNIQUE (commdescription);


--
-- Name: commconcept_unique_commname; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commconcept
    ADD CONSTRAINT commconcept_unique_commname UNIQUE (commname_id);


--
-- Name: commcorrelation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commcorrelation
    ADD CONSTRAINT commcorrelation_pkey PRIMARY KEY (commcorrelation_id);


--
-- Name: commdetermination_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commdetermination
    ADD CONSTRAINT commdetermination_pkey PRIMARY KEY (commdetermination_id);


--
-- Name: commdetermination_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commdetermination
    ADD CONSTRAINT commdetermination_unique UNIQUE (commclass_id, commconcept_id);


--
-- Name: commlineage_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commlineage
    ADD CONSTRAINT commlineage_pkey PRIMARY KEY (commlineage_id);


--
-- Name: commname_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commname
    ADD CONSTRAINT commname_pkey PRIMARY KEY (commname_id);


--
-- Name: commname_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commname
    ADD CONSTRAINT commname_unique UNIQUE (commname);


--
-- Name: commstatus_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commstatus
    ADD CONSTRAINT commstatus_pkey PRIMARY KEY (commstatus_id);


--
-- Name: commusage_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE commusage
    ADD CONSTRAINT commusage_pkey PRIMARY KEY (commusage_id);


--
-- Name: coordinates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE coordinates
    ADD CONSTRAINT coordinates_pkey PRIMARY KEY (coordinates_id);


--
-- Name: coverindex_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE coverindex
    ADD CONSTRAINT coverindex_pkey PRIMARY KEY (coverindex_id);


--
-- Name: covermethod_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE covermethod
    ADD CONSTRAINT covermethod_pkey PRIMARY KEY (covermethod_id);


--
-- Name: cultivated_family_locations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE cultivated_family_locations
    ADD CONSTRAINT cultivated_family_locations_pkey PRIMARY KEY (family, country);


--
-- Name: definedvalue_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE definedvalue
    ADD CONSTRAINT definedvalue_pkey PRIMARY KEY (definedvalue_id);


--
-- Name: definedvalue_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE definedvalue
    ADD CONSTRAINT definedvalue_unique UNIQUE (userdefined_id, tablerecord_id);


--
-- Name: disturbanceobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE disturbanceobs
    ADD CONSTRAINT disturbanceobs_pkey PRIMARY KEY (disturbanceobs_id);


--
-- Name: family_higher_plant_group_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE family_higher_plant_group
    ADD CONSTRAINT family_higher_plant_group_pkey PRIMARY KEY (family);


--
-- Name: graphic_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE graphic
    ADD CONSTRAINT graphic_pkey PRIMARY KEY (graphic_id);


--
-- Name: location_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE location
    ADD CONSTRAINT location_pkey PRIMARY KEY (location_id);


--
-- Name: locationevent_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_pkey PRIMARY KEY (locationevent_id);


--
-- Name: locationeventcontributor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE locationeventcontributor
    ADD CONSTRAINT locationeventcontributor_pkey PRIMARY KEY (locationeventcontributor_id);


--
-- Name: locationeventcontributor_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE locationeventcontributor
    ADD CONSTRAINT locationeventcontributor_unique UNIQUE (locationevent_id, party_id);


--
-- Name: locationeventsynonym_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE locationeventsynonym
    ADD CONSTRAINT locationeventsynonym_pkey PRIMARY KEY (locationeventsynonym_id);


--
-- Name: locationplace_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE locationplace
    ADD CONSTRAINT locationplace_pkey PRIMARY KEY (locationplace_id);


--
-- Name: method_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE method
    ADD CONSTRAINT method_pkey PRIMARY KEY (method_id);


--
-- Name: methodtaxonclass_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE methodtaxonclass
    ADD CONSTRAINT methodtaxonclass_pkey PRIMARY KEY (methodtaxonclass_id);


--
-- Name: methodtaxonclass_unique_description; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE methodtaxonclass
    ADD CONSTRAINT methodtaxonclass_unique_description UNIQUE (method_id, taxonclass);


--
-- Name: methodtaxonclass_unique_taxonlabel_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE methodtaxonclass
    ADD CONSTRAINT methodtaxonclass_unique_taxonlabel_id UNIQUE (method_id, taxonlabel_id);


--
-- Name: note_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE note
    ADD CONSTRAINT note_pkey PRIMARY KEY (note_id);


--
-- Name: notelink_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE notelink
    ADD CONSTRAINT notelink_pkey PRIMARY KEY (notelink_id);


--
-- Name: party_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE party
    ADD CONSTRAINT party_pkey PRIMARY KEY (party_id);


--
-- Name: partymember_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE partymember
    ADD CONSTRAINT partymember_pkey PRIMARY KEY (partymember_id);


--
-- Name: place_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE place
    ADD CONSTRAINT place_pkey PRIMARY KEY (place_id);


--
-- Name: placecorrelation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE placecorrelation
    ADD CONSTRAINT placecorrelation_pkey PRIMARY KEY (placecorrelation_id);


--
-- Name: placename_ancestor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE placename_ancestor
    ADD CONSTRAINT placename_ancestor_pkey PRIMARY KEY (placename_id, ancestor_id);


--
-- Name: placename_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE placename
    ADD CONSTRAINT placename_pkey PRIMARY KEY (placename_id);


--
-- Name: plant_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE plant
    ADD CONSTRAINT plant_pkey PRIMARY KEY (plant_id);


--
-- Name: plantobservation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE plantobservation
    ADD CONSTRAINT plantobservation_pkey PRIMARY KEY (plantobservation_id);


--
-- Name: project_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE project
    ADD CONSTRAINT project_pkey PRIMARY KEY (project_id);


--
-- Name: project_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE project
    ADD CONSTRAINT project_unique UNIQUE (source_id, projectname);


--
-- Name: projectcontributor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE projectcontributor
    ADD CONSTRAINT projectcontributor_pkey PRIMARY KEY (projectcontributor_id);


--
-- Name: projectcontributor_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE projectcontributor
    ADD CONSTRAINT projectcontributor_unique UNIQUE (project_id, party_id);


--
-- Name: provider_count_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE provider_count
    ADD CONSTRAINT provider_count_pkey PRIMARY KEY (dataprovider, dataset);


--
-- Name: revision_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE revision
    ADD CONSTRAINT revision_pkey PRIMARY KEY (revision_id);


--
-- Name: soilsample_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE soilsample
    ADD CONSTRAINT soilsample_pkey PRIMARY KEY (soilsample_id);


--
-- Name: soilsample_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE soilsample
    ADD CONSTRAINT soilsample_unique UNIQUE (locationevent_id);


--
-- Name: soiltaxon_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE soiltaxon
    ADD CONSTRAINT soiltaxon_pkey PRIMARY KEY (soiltaxon_id);


--
-- Name: source_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE source
    ADD CONSTRAINT source_pkey PRIMARY KEY (source_id);


--
-- Name: sourcecontributor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE sourcecontributor
    ADD CONSTRAINT sourcecontributor_pkey PRIMARY KEY (sourcecontributor_id);


--
-- Name: sourcelist_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE sourcelist
    ADD CONSTRAINT sourcelist_pkey PRIMARY KEY (sourcelist_id);


--
-- Name: sourcename_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE sourcename
    ADD CONSTRAINT sourcename_pkey PRIMARY KEY (sourcelist_id, name);


--
-- Name: specimen_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE specimen
    ADD CONSTRAINT specimen_pkey PRIMARY KEY (specimen_id);


--
-- Name: specimenreplicate_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE specimenreplicate
    ADD CONSTRAINT specimenreplicate_pkey PRIMARY KEY (specimenreplicate_id);


--
-- Name: stemobservation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE stemobservation
    ADD CONSTRAINT stemobservation_pkey PRIMARY KEY (stemobservation_id);


--
-- Name: stratum_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE stratum
    ADD CONSTRAINT stratum_pkey PRIMARY KEY (stratum_id);


--
-- Name: stratum_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE stratum
    ADD CONSTRAINT stratum_unique UNIQUE (source_id, stratumname);


--
-- Name: taxonalt_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonalt
    ADD CONSTRAINT taxonalt_pkey PRIMARY KEY (taxonalt_id);


--
-- Name: taxonconcept_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonconcept
    ADD CONSTRAINT taxonconcept_pkey PRIMARY KEY (taxonlabel_id);


--
-- Name: taxoncorrelation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxoncorrelation
    ADD CONSTRAINT taxoncorrelation_pkey PRIMARY KEY (taxoncorrelation_id);


--
-- Name: taxondetermination_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxondetermination
    ADD CONSTRAINT taxondetermination_pkey PRIMARY KEY (taxondetermination_id);


--
-- Name: taxonlabel_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonlabel
    ADD CONSTRAINT taxonlabel_pkey PRIMARY KEY (taxonlabel_id);


--
-- Name: taxonlabel_relationship_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonlabel_relationship
    ADD CONSTRAINT taxonlabel_relationship_pkey PRIMARY KEY (descendant_id, ancestor_id);


--
-- Name: taxonlineage_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonlineage
    ADD CONSTRAINT taxonlineage_pkey PRIMARY KEY (taxonlineage_id);


--
-- Name: taxonoccurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonoccurrence
    ADD CONSTRAINT taxonoccurrence_pkey PRIMARY KEY (taxonoccurrence_id);


--
-- Name: taxonstatus_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonstatus
    ADD CONSTRAINT taxonstatus_pkey PRIMARY KEY (taxonstatus_id);


--
-- Name: taxonstatus_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonstatus
    ADD CONSTRAINT taxonstatus_unique UNIQUE (taxonlabel_id, party_id);


--
-- Name: taxonverbatim_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE taxonverbatim
    ADD CONSTRAINT taxonverbatim_pkey PRIMARY KEY (taxonverbatim_id);


--
-- Name: telephone_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE telephone
    ADD CONSTRAINT telephone_pkey PRIMARY KEY (telephone_id);


--
-- Name: threatened_taxonlabel_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE threatened_taxonlabel
    ADD CONSTRAINT threatened_taxonlabel_pkey PRIMARY KEY (taxonlabel_id);


--
-- Name: trait_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE trait
    ADD CONSTRAINT trait_pkey PRIMARY KEY (trait_id);


--
-- Name: userdefined_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE userdefined
    ADD CONSTRAINT userdefined_pkey PRIMARY KEY (userdefined_id);


--
-- Name: userdefined_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE userdefined
    ADD CONSTRAINT userdefined_unique UNIQUE (tablename, userdefinedname);


--
-- Name: voucher_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE voucher
    ADD CONSTRAINT voucher_pkey PRIMARY KEY (voucher_id);


--
-- Name: voucher_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE voucher
    ADD CONSTRAINT voucher_unique UNIQUE (taxonoccurrence_id, specimenreplicate_id);


--
-- Name: address_organization_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX address_organization_id_idx ON address  (organization_id);


--
-- Name: address_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX address_party_id_idx ON address  (party_id);


--
-- Name: aggregateoccurrence_coverindex_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX aggregateoccurrence_coverindex_id_idx ON aggregateoccurrence  (coverindex_id);


--
-- Name: aggregateoccurrence_method_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX aggregateoccurrence_method_id_idx ON aggregateoccurrence  (method_id);


--
-- Name: aggregateoccurrence_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX aggregateoccurrence_source_id_idx ON aggregateoccurrence  (source_id);


--
-- Name: aggregateoccurrence_stratum_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX aggregateoccurrence_stratum_id_idx ON aggregateoccurrence  (stratum_id);


--
-- Name: aggregateoccurrence_taxonoccurrence; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX aggregateoccurrence_taxonoccurrence ON aggregateoccurrence  (taxonoccurrence_id);


--
-- Name: aggregateoccurrence_taxonoccurrence_1_to_1; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: aggregateoccurrence_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: analytical_stem_datasource__@Brad__.identifier_examples@ve_idx1; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX `analytical_stem_datasource__@Brad__.identifier_examples@ve_idx1` ON analytical_stem  (`datasource__@Brad__.identifier_examples@vegpath.org`, `[custodial_]institutionCode[s]__@DwC__@vegpath.org`, `collectionCode__@DwC__@vegpath.org`, `catalogNumber__@DwC__@vegpath.org`);


--
-- Name: analytical_stem_datasource__@Brad__.identifier_examples@ve_idx2; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX `analytical_stem_datasource__@Brad__.identifier_examples@ve_idx2` ON analytical_stem  (`datasource__@Brad__.identifier_examples@vegpath.org`, `projectID__@VegX__.plotObservation@vegpath.org`, `locationID__@DwC__@vegpath.org`, `eventDate__@DwC__@vegpath.org`);


--
-- Name: analytical_stem_datasource__@Brad__.identifier_examples@veg_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX `analytical_stem_datasource__@Brad__.identifier_examples@veg_idx` ON analytical_stem  (`datasource__@Brad__.identifier_examples@vegpath.org`, `occurrenceID__@DwC__@vegpath.org`);


--
-- Name: analytical_stem_speciesBinomialWithMorphospecies__@VegCore__idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX `analytical_stem_speciesBinomialWithMorphospecies__@VegCore__idx` ON analytical_stem  (`speciesBinomialWithMorphospecies__@VegCore__@vegpath.org`);


--
-- Name: classcontributor_commclass_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX classcontributor_commclass_id_idx ON classcontributor  (commclass_id);


--
-- Name: classcontributor_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX classcontributor_party_id_idx ON classcontributor  (party_id);


--
-- Name: commclass_classpublication_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commclass_classpublication_id_idx ON commclass  (classpublication_id);


--
-- Name: commclass_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: commconcept_reference_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commconcept_reference_id_idx ON commconcept  (reference_id);


--
-- Name: commcorrelation_commconcept_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commcorrelation_commconcept_id_idx ON commcorrelation  (commconcept_id);


--
-- Name: commcorrelation_commstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commcorrelation_commstatus_id_idx ON commcorrelation  (commstatus_id);


--
-- Name: commdetermination_commauthority_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commdetermination_commauthority_id_idx ON commdetermination  (commauthority_id);


--
-- Name: commdetermination_commconcept_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commdetermination_commconcept_id_idx ON commdetermination  (commconcept_id);


--
-- Name: commlineage_childcommstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commlineage_childcommstatus_id_idx ON commlineage  (childcommstatus_id);


--
-- Name: commlineage_parentcommstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commlineage_parentcommstatus_id_idx ON commlineage  (parentcommstatus_id);


--
-- Name: commname_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commname_source_id_idx ON commname  (source_id);


--
-- Name: commstatus_commconcept_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commstatus_commconcept_id_idx ON commstatus  (commconcept_id);


--
-- Name: commstatus_commparent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commstatus_commparent_id_idx ON commstatus  (commparent_id);


--
-- Name: commstatus_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commstatus_party_id_idx ON commstatus  (party_id);


--
-- Name: commstatus_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commstatus_source_id_idx ON commstatus  (source_id);


--
-- Name: commusage_commconcept_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commusage_commconcept_id_idx ON commusage  (commconcept_id);


--
-- Name: commusage_commname_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commusage_commname_id_idx ON commusage  (commname_id);


--
-- Name: commusage_commstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commusage_commstatus_id_idx ON commusage  (commstatus_id);


--
-- Name: commusage_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX commusage_party_id_idx ON commusage  (party_id);


--
-- Name: coordinates_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: coverindex_covermethod_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX coverindex_covermethod_id_idx ON coverindex  (covermethod_id);


--
-- Name: covermethod_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX covermethod_source_id_idx ON covermethod  (source_id);


--
-- Name: disturbanceobs_locationevent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX disturbanceobs_locationevent_id_idx ON disturbanceobs  (locationevent_id);


--
-- Name: fki_location_place_id_fkey; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX fki_location_place_id_fkey ON location  (place_id);


--
-- Name: graphic_locationevent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX graphic_locationevent_id_idx ON graphic  (locationevent_id);


--
-- Name: higher_plant_group_nodes_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: location_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX location_creator ON location  (source_id);


--
-- Name: location_parent; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX location_parent ON location  (parent_id);


--
-- Name: location_plot_location_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX location_plot_location_id ON location  (plot_location_id);


--
-- Name: location_unique_within_creator_by_authorlocationcode; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: location_unique_within_creator_by_sourceaccessioncode; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: location_unique_within_parent_by_authorlocationcode_position; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: locationevent__stratum_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent__stratum_id ON locationevent  (stratum_id);


--
-- Name: locationevent_location; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_location ON locationevent  (location_id);


--
-- Name: locationevent_method_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_method_id_idx ON locationevent  (method_id);


--
-- Name: locationevent_parent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_parent_id_idx ON locationevent  (parent_id);


--
-- Name: locationevent_place_visit_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_place_visit_id ON locationevent  (place_visit_id);


--
-- Name: locationevent_plot_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_plot_id ON locationevent  (plot_id);


--
-- Name: locationevent_previous_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_previous_id_idx ON locationevent  (previous_id);


--
-- Name: locationevent_project_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_project_id_idx ON locationevent  (project_id);


--
-- Name: locationevent_soiltaxon_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_soiltaxon_id_idx ON locationevent  (soiltaxon_id);


--
-- Name: locationevent_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationevent_source_id_idx ON locationevent  (source_id);


--
-- Name: locationevent_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: locationevent_unique_within_location; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: locationevent_unique_within_parent_by_authoreventcode; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: locationevent_unique_within_parent_by_location; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: locationevent_unique_within_project; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: locationeventcontributor_locationevent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationeventcontributor_locationevent_id_idx ON locationeventcontributor  (locationevent_id);


--
-- Name: locationeventcontributor_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationeventcontributor_party_id_idx ON locationeventcontributor  (party_id);


--
-- Name: locationeventsynonym_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationeventsynonym_party_id_idx ON locationeventsynonym  (party_id);


--
-- Name: locationeventsynonym_primarylocationevent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationeventsynonym_primarylocationevent_id_idx ON locationeventsynonym  (primarylocationevent_id);


--
-- Name: locationeventsynonym_synonymlocationevent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationeventsynonym_synonymlocationevent_id_idx ON locationeventsynonym  (synonymlocationevent_id);


--
-- Name: locationplace_identifier_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationplace_identifier_id_idx ON locationplace  (identifier_id);


--
-- Name: locationplace_place_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX locationplace_place_id_idx ON locationplace  (place_id);


--
-- Name: locationplace_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: method_covermethod_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX method_covermethod_id_idx ON method  (covermethod_id);


--
-- Name: method_subplotmethod_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX method_subplotmethod_id_idx ON method  (subplotmethod_id);


--
-- Name: method_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: methodtaxonclass_submethod_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX methodtaxonclass_submethod_id_idx ON methodtaxonclass  (submethod_id);


--
-- Name: methodtaxonclass_taxonlabel_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX methodtaxonclass_taxonlabel_id_idx ON methodtaxonclass  (taxonlabel_id);


--
-- Name: note_notelink_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX note_notelink_id_idx ON note  (notelink_id);


--
-- Name: note_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX note_party_id_idx ON note  (party_id);


--
-- Name: party_currentname_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX party_currentname_id_idx ON party  (currentname_id);


--
-- Name: party_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX party_source_id_idx ON party  (source_id);


--
-- Name: party_unique_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: party_unique_sourceaccessioncode; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: partymember_childparty_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX partymember_childparty_id_idx ON partymember  (childparty_id);


--
-- Name: partymember_parentparty_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX partymember_parentparty_id_idx ON partymember  (parentparty_id);


--
-- Name: place_canon_place_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX place_canon_place_id_idx ON place  (canon_place_id);


--
-- Name: place_coordinates_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX place_coordinates_id_idx ON place  (coordinates_id);


--
-- Name: place_matched_place_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX place_matched_place_id_idx ON place  (matched_place_id);


--
-- Name: place_placename_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX place_placename_id_idx ON place  (placename_id);


--
-- Name: place_unique_within_creator_by_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: placecorrelation_childplace_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX placecorrelation_childplace_id_idx ON placecorrelation  (childplace_id);


--
-- Name: placecorrelation_parentplace_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX placecorrelation_parentplace_id_idx ON placecorrelation  (parentplace_id);


--
-- Name: placename_ancestor_ancestor_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX placename_ancestor_ancestor_id_idx ON placename_ancestor  (ancestor_id);


--
-- Name: placename_parent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX placename_parent_id_idx ON placename  (parent_id);


--
-- Name: placename_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: plantobservation_aggregateoccurrence_1_to_1; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE UNIQUE INDEX plantobservation_aggregateoccurrence_1_to_1 ON plantobservation  (aggregateoccurrence_id);


--
-- Name: plantobservation_plant_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX plantobservation_plant_id_idx ON plantobservation  (plant_id);


--
-- Name: plantobservation_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX plantobservation_source_id_idx ON plantobservation  (source_id);


--
-- Name: plantobservation_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: plot_source_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: project_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX project_source_id_idx ON project  (source_id);


--
-- Name: project_unique_name_date; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: project_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: projectcontributor_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX projectcontributor_party_id_idx ON projectcontributor  (party_id);


--
-- Name: projectcontributor_project_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX projectcontributor_project_id_idx ON projectcontributor  (project_id);


--
-- Name: revision_previousrevision_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX revision_previousrevision_id_idx ON revision  (previousrevision_id);


--
-- Name: soiltaxon_soilparent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX soiltaxon_soilparent_id_idx ON soiltaxon  (soilparent_id);


--
-- Name: source_matched_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX source_matched_source_id_idx ON source  (matched_source_id);


--
-- Name: source_parent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX source_parent_id_idx ON source  (parent_id);


--
-- Name: source_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE UNIQUE INDEX source_unique ON source  (shortname);


--
-- Name: sourcecontributor_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX sourcecontributor_source_id_idx ON sourcecontributor  (source_id);


--
-- Name: sourcecontributor_sourceparty_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX sourcecontributor_sourceparty_id_idx ON sourcecontributor  (sourceparty_id);


--
-- Name: sourcelist_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE UNIQUE INDEX sourcelist_unique ON sourcelist  (source_id, name);


--
-- Name: sourcename_matched_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX sourcename_matched_source_id_idx ON sourcename  (matched_source_id);


--
-- Name: specimenreplicate_duplicate_institutions_sourcelist_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX specimenreplicate_duplicate_institutions_sourcelist_id_idx ON specimenreplicate  (duplicate_institutions_sourcelist_id);


--
-- Name: specimenreplicate_plantobservation; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX specimenreplicate_plantobservation ON specimenreplicate  (plantobservation_id);


--
-- Name: specimenreplicate_plantobservation_1_to_1; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: specimenreplicate_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX specimenreplicate_source_id_idx ON specimenreplicate  (source_id);


--
-- Name: specimenreplicate_specimen_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX specimenreplicate_specimen_id_idx ON specimenreplicate  (specimen_id);


--
-- Name: specimenreplicate_unique_catalognumber; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: specimenreplicate_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: stemobservation_plantobservation_1_to_1; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: stemobservation_plantobservation_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX stemobservation_plantobservation_id ON stemobservation  (plantobservation_id);


--
-- Name: stemobservation_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX stemobservation_source_id_idx ON stemobservation  (source_id);


--
-- Name: stemobservation_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: stemobservation_unique_within_plantobservation; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: stratum_method_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX stratum_method_id_idx ON stratum  (method_id);


--
-- Name: taxon_trait_scientificName_measurementType_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX `taxon_trait_scientificName_measurementType_idx` ON taxon_trait  (`scientificName`, `measurementType`);


--
-- Name: taxonalt_taxondetermination_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonalt_taxondetermination_id_idx ON taxonalt  (taxondetermination_id);


--
-- Name: taxonalt_taxonlabel_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonalt_taxonlabel_id_idx ON taxonalt  (taxonlabel_id);


--
-- Name: taxonconcept_concept_reference_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonconcept_concept_reference_id_idx ON taxonconcept  (concept_reference_id);


--
-- Name: taxoncorrelation_taxonlabel_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxoncorrelation_taxonlabel_id_idx ON taxoncorrelation  (taxonlabel_id);


--
-- Name: taxoncorrelation_taxonstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxoncorrelation_taxonstatus_id_idx ON taxoncorrelation  (taxonstatus_id);


--
-- Name: taxondetermination_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxondetermination_party_id_idx ON taxondetermination  (party_id);


--
-- Name: taxondetermination_reference_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxondetermination_reference_id_idx ON taxondetermination  (reference_id);


--
-- Name: taxondetermination_single_accepted_determination; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxondetermination_single_current_determination; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxondetermination_single_matched_determination; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxondetermination_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxondetermination_source_id_idx ON taxondetermination  (source_id);


--
-- Name: taxondetermination_taxonverbatim_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxondetermination_taxonverbatim_id_idx ON taxondetermination  (taxonverbatim_id);


--
-- Name: taxondetermination_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonlabel_0_unique_identifying_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonlabel_1_unique_sourceaccessioncode; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonlabel_canon_label_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlabel_canon_label_id_idx ON taxonlabel  (canon_label_id);


--
-- Name: taxonlabel_matched_label_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlabel_matched_label_id_idx ON taxonlabel  (matched_label_id);


--
-- Name: taxonlabel_parent_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlabel_parent_id_idx ON taxonlabel  (parent_id);


--
-- Name: taxonlabel_relationship_descendants; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlabel_relationship_descendants ON taxonlabel_relationship  (ancestor_id, descendant_id);


--
-- Name: taxonlabel_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlabel_source_id_idx ON taxonlabel  (source_id);


--
-- Name: taxonlabel_taxonomicname_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonlabel_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonlineage_childtaxonstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlineage_childtaxonstatus_id_idx ON taxonlineage  (childtaxonstatus_id);


--
-- Name: taxonlineage_parenttaxonstatus_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonlineage_parenttaxonstatus_id_idx ON taxonlineage  (parenttaxonstatus_id);


--
-- Name: taxonoccurrence_collector_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonoccurrence_collector_id_idx ON taxonoccurrence  (collector_id);


--
-- Name: taxonoccurrence_locationevent; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonoccurrence_locationevent ON taxonoccurrence  (locationevent_id);


--
-- Name: taxonoccurrence_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonoccurrence_source_id_idx ON taxonoccurrence  (source_id);


--
-- Name: taxonoccurrence_unique_within_creator; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonoccurrence_unique_within_locationevent; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: taxonstatus_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonstatus_party_id_idx ON taxonstatus  (party_id);


--
-- Name: taxonstatus_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonstatus_source_id_idx ON taxonstatus  (source_id);


--
-- Name: taxonverbatim_source_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonverbatim_source_id_idx ON taxonverbatim  (source_id);


--
-- Name: taxonverbatim_taxonlabel_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX taxonverbatim_taxonlabel_id_idx ON taxonverbatim  (taxonlabel_id);


--
-- Name: taxonverbatim_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--




--
-- Name: telephone_party_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX telephone_party_id_idx ON telephone  (party_id);


--
-- Name: trait_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE UNIQUE INDEX trait_unique ON trait  (taxonoccurrence_id, name);


--
-- Name: voucher_specimenreplicate_id_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
--

CREATE INDEX voucher_specimenreplicate_id_idx ON voucher  (specimenreplicate_id);


--
-- Name: location__pull_forward_from_parent; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: location_set_plot_location_id; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: locationevent_pull_forward_from_parent; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: locationevent_pull_forward_from_parent_for_stratum; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: locationevent_set_place_visit_id; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: locationevent_set_plot_id; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: locationplace__set_location_current_place; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: party_source_id_self_ref; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: place_matched_place_id_self_ref; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: place_set_canon_place_id_on_insert; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: place_set_canon_place_id_on_update; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: placename_update_ancestors; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: plantobservation_aggregateoccurrence_count_1; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: sourcename_set_matched_source_id; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxondetermination_set_iscurrent_on_delete; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxondetermination_set_iscurrent_on_insert; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxonlabel_0_matched_label_id_self_ref; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxonlabel_2_set_canon_label_id_on_insert; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxonlabel_2_set_canon_label_id_on_update; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxonlabel_3_parent_id_avoid_self_ref; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxonlabel_update_ancestors_on_insert; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: taxonlabel_update_ancestors_on_update; Type: TRIGGER; Schema: public; Owner: -
--




--
-- Name: address_organization_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: address_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE address
    ADD CONSTRAINT address_party_id_fkey FOREIGN KEY (party_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: aggregateoccurrence_coverindex_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence_method_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: aggregateoccurrence_stratum_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE aggregateoccurrence
    ADD CONSTRAINT aggregateoccurrence_stratum_id_fkey FOREIGN KEY (stratum_id) REFERENCES stratum(stratum_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: aggregateoccurrence_taxonoccurrence_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE aggregateoccurrence
    ADD CONSTRAINT aggregateoccurrence_taxonoccurrence_id_fkey FOREIGN KEY (taxonoccurrence_id) REFERENCES taxonoccurrence(taxonoccurrence_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: classcontributor_commclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE classcontributor
    ADD CONSTRAINT classcontributor_commclass_id_fkey FOREIGN KEY (commclass_id) REFERENCES commclass(commclass_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: classcontributor_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commclass_classpublication_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commclass_locationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commconcept_commname_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commconcept
    ADD CONSTRAINT commconcept_commname_id_fkey FOREIGN KEY (commname_id) REFERENCES commname(commname_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commconcept_reference_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commcorrelation_commconcept_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commcorrelation
    ADD CONSTRAINT commcorrelation_commconcept_id_fkey FOREIGN KEY (commconcept_id) REFERENCES commconcept(commconcept_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commcorrelation_commstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commcorrelation
    ADD CONSTRAINT commcorrelation_commstatus_id_fkey FOREIGN KEY (commstatus_id) REFERENCES commstatus(commstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commdetermination_commauthority_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commdetermination_commclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commdetermination
    ADD CONSTRAINT commdetermination_commclass_id_fkey FOREIGN KEY (commclass_id) REFERENCES commclass(commclass_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commdetermination_commconcept_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commdetermination
    ADD CONSTRAINT commdetermination_commconcept_id_fkey FOREIGN KEY (commconcept_id) REFERENCES commconcept(commconcept_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commlineage_childcommstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commlineage
    ADD CONSTRAINT commlineage_childcommstatus_id_fkey FOREIGN KEY (childcommstatus_id) REFERENCES commstatus(commstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commlineage_parentcommstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commlineage
    ADD CONSTRAINT commlineage_parentcommstatus_id_fkey FOREIGN KEY (parentcommstatus_id) REFERENCES commstatus(commstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commname_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commstatus_commconcept_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commstatus
    ADD CONSTRAINT commstatus_commconcept_id_fkey FOREIGN KEY (commconcept_id) REFERENCES commconcept(commconcept_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commstatus_commparent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commstatus
    ADD CONSTRAINT commstatus_commparent_id_fkey FOREIGN KEY (commparent_id) REFERENCES commconcept(commconcept_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commstatus_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commstatus_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: commusage_commconcept_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commusage
    ADD CONSTRAINT commusage_commconcept_id_fkey FOREIGN KEY (commconcept_id) REFERENCES commconcept(commconcept_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commusage_commname_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commusage
    ADD CONSTRAINT commusage_commname_id_fkey FOREIGN KEY (commname_id) REFERENCES commname(commname_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commusage_commstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE commusage
    ADD CONSTRAINT commusage_commstatus_id_fkey FOREIGN KEY (commstatus_id) REFERENCES commstatus(commstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: commusage_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: coordinates_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: coverindex_covermethod_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE coverindex
    ADD CONSTRAINT coverindex_covermethod_id_fkey FOREIGN KEY (covermethod_id) REFERENCES covermethod(covermethod_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: covermethod_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: definedvalue_userdefined_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE definedvalue
    ADD CONSTRAINT definedvalue_userdefined_id_fkey FOREIGN KEY (userdefined_id) REFERENCES userdefined(userdefined_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: disturbanceobs_locationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE disturbanceobs
    ADD CONSTRAINT disturbanceobs_locationevent_id_fkey FOREIGN KEY (locationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: graphic_locationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE graphic
    ADD CONSTRAINT graphic_locationevent_id_fkey FOREIGN KEY (locationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: location_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE location
    ADD CONSTRAINT location_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES location(location_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: location_place_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE location
    ADD CONSTRAINT location_place_id_fkey FOREIGN KEY (place_id) REFERENCES place(place_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: location_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: locationevent_location_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_location_id_fkey FOREIGN KEY (location_id) REFERENCES location(location_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_method_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: locationevent_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_place_visit_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_place_visit_id_fkey FOREIGN KEY (place_visit_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_plot_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_plot_id_fkey FOREIGN KEY (plot_id) REFERENCES location(location_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_previous_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_previous_id_fkey FOREIGN KEY (previous_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_project_id_fkey FOREIGN KEY (project_id) REFERENCES project(project_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_soiltaxon_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_soiltaxon_id_fkey FOREIGN KEY (soiltaxon_id) REFERENCES soiltaxon(soiltaxon_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationevent_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: locationevent_stratum_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationevent
    ADD CONSTRAINT locationevent_stratum_id_fkey FOREIGN KEY (stratum_id) REFERENCES stratum(stratum_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationeventcontributor_locationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationeventcontributor
    ADD CONSTRAINT locationeventcontributor_locationevent_id_fkey FOREIGN KEY (locationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationeventcontributor_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: locationeventsynonym_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: locationeventsynonym_primarylocationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationeventsynonym
    ADD CONSTRAINT locationeventsynonym_primarylocationevent_id_fkey FOREIGN KEY (primarylocationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationeventsynonym_synonymlocationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationeventsynonym
    ADD CONSTRAINT locationeventsynonym_synonymlocationevent_id_fkey FOREIGN KEY (synonymlocationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationplace_identifier_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: locationplace_location_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationplace
    ADD CONSTRAINT locationplace_location_id_fkey FOREIGN KEY (location_id) REFERENCES location(location_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: locationplace_place_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE locationplace
    ADD CONSTRAINT locationplace_place_id_fkey FOREIGN KEY (place_id) REFERENCES place(place_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: method_covermethod_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE method
    ADD CONSTRAINT method_covermethod_id_fkey FOREIGN KEY (covermethod_id) REFERENCES covermethod(covermethod_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: method_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: method_subplotmethod_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE method
    ADD CONSTRAINT method_subplotmethod_id_fkey FOREIGN KEY (subplotmethod_id) REFERENCES method(method_id) ON UPDATE CASCADE ON DELETE SET NULL;


--
-- Name: methodtaxonclass_method_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE methodtaxonclass
    ADD CONSTRAINT methodtaxonclass_method_id_fkey FOREIGN KEY (method_id) REFERENCES method(method_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: methodtaxonclass_submethod_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: methodtaxonclass_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE methodtaxonclass
    ADD CONSTRAINT methodtaxonclass_taxonlabel_id_fkey FOREIGN KEY (taxonlabel_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: note_notelink_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE note
    ADD CONSTRAINT note_notelink_id_fkey FOREIGN KEY (notelink_id) REFERENCES notelink(notelink_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: note_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: party_currentname_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE party
    ADD CONSTRAINT party_currentname_id_fkey FOREIGN KEY (currentname_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: party_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: partymember_childparty_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE partymember
    ADD CONSTRAINT partymember_childparty_id_fkey FOREIGN KEY (childparty_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: partymember_parentparty_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: place_canon_place_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: place_coordinates_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE place
    ADD CONSTRAINT place_coordinates_id_fkey FOREIGN KEY (coordinates_id) REFERENCES coordinates(coordinates_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: place_matched_place_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE place
    ADD CONSTRAINT place_matched_place_id_fkey FOREIGN KEY (matched_place_id) REFERENCES place(place_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: place_placename_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE place
    ADD CONSTRAINT place_placename_id_fkey FOREIGN KEY (placename_id) REFERENCES placename(placename_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: place_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: placecorrelation_childplace_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE placecorrelation
    ADD CONSTRAINT placecorrelation_childplace_id_fkey FOREIGN KEY (childplace_id) REFERENCES placename(placename_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: placecorrelation_parentplace_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE placecorrelation
    ADD CONSTRAINT placecorrelation_parentplace_id_fkey FOREIGN KEY (parentplace_id) REFERENCES placename(placename_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: placename_ancestor_ancestor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE placename_ancestor
    ADD CONSTRAINT placename_ancestor_ancestor_id_fkey FOREIGN KEY (ancestor_id) REFERENCES placename(placename_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: placename_ancestor_place_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE placename_ancestor
    ADD CONSTRAINT placename_ancestor_place_id_fkey FOREIGN KEY (placename_id) REFERENCES placename(placename_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: placename_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE placename
    ADD CONSTRAINT placename_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES placename(placename_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: plantobservation_aggregateoccurrence_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE plantobservation
    ADD CONSTRAINT plantobservation_aggregateoccurrence_id_fkey FOREIGN KEY (aggregateoccurrence_id) REFERENCES aggregateoccurrence(aggregateoccurrence_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: plantobservation_plant_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE plantobservation
    ADD CONSTRAINT plantobservation_plant_id_fkey FOREIGN KEY (plant_id) REFERENCES plant(plant_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: plantobservation_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: project_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: projectcontributor_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: projectcontributor_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: revision_previousrevision_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE revision
    ADD CONSTRAINT revision_previousrevision_id_fkey FOREIGN KEY (previousrevision_id) REFERENCES revision(revision_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: soilsample_locationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE soilsample
    ADD CONSTRAINT soilsample_locationevent_id_fkey FOREIGN KEY (locationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: soiltaxon_soilparent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE soiltaxon
    ADD CONSTRAINT soiltaxon_soilparent_id_fkey FOREIGN KEY (soilparent_id) REFERENCES soiltaxon(soiltaxon_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: source_matched_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE source
    ADD CONSTRAINT source_matched_source_id_fkey FOREIGN KEY (matched_source_id) REFERENCES source(source_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: source_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE source
    ADD CONSTRAINT source_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES source(source_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: sourcecontributor_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE sourcecontributor
    ADD CONSTRAINT sourcecontributor_source_id_fkey FOREIGN KEY (source_id) REFERENCES source(source_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: sourcecontributor_sourceparty_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE sourcecontributor
    ADD CONSTRAINT sourcecontributor_sourceparty_id_fkey FOREIGN KEY (sourceparty_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: sourcelist_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: sourcename_matched_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE sourcename
    ADD CONSTRAINT sourcename_matched_source_id_fkey FOREIGN KEY (matched_source_id) REFERENCES source(source_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: sourcename_sourcelist_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE sourcename
    ADD CONSTRAINT sourcename_sourcelist_id_fkey FOREIGN KEY (sourcelist_id) REFERENCES sourcelist(sourcelist_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: specimenreplicate_duplicate_institutions_sourcelist_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: specimenreplicate_plantobservation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE specimenreplicate
    ADD CONSTRAINT specimenreplicate_plantobservation_id_fkey FOREIGN KEY (plantobservation_id) REFERENCES plantobservation(plantobservation_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: specimenreplicate_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: specimenreplicate_specimen_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE specimenreplicate
    ADD CONSTRAINT specimenreplicate_specimen_id_fkey FOREIGN KEY (specimen_id) REFERENCES specimen(specimen_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: stemobservation_plantobservation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE stemobservation
    ADD CONSTRAINT stemobservation_plantobservation_id_fkey FOREIGN KEY (plantobservation_id) REFERENCES plantobservation(plantobservation_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: stemobservation_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: stratum_method_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: stratum_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonalt_taxondetermination_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonalt
    ADD CONSTRAINT taxonalt_taxondetermination_id_fkey FOREIGN KEY (taxondetermination_id) REFERENCES taxondetermination(taxondetermination_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonalt_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonalt
    ADD CONSTRAINT taxonalt_taxonlabel_id_fkey FOREIGN KEY (taxonlabel_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonconcept_concept_reference_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonconcept_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonconcept
    ADD CONSTRAINT taxonconcept_taxonlabel_id_fkey FOREIGN KEY (taxonlabel_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxoncorrelation_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxoncorrelation_taxonstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxoncorrelation
    ADD CONSTRAINT taxoncorrelation_taxonstatus_id_fkey FOREIGN KEY (taxonstatus_id) REFERENCES taxonstatus(taxonstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxondetermination_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxondetermination_reference_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxondetermination_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxondetermination_taxonoccurrence_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxondetermination
    ADD CONSTRAINT taxondetermination_taxonoccurrence_id_fkey FOREIGN KEY (taxonoccurrence_id) REFERENCES taxonoccurrence(taxonoccurrence_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxondetermination_taxonverbatim_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxondetermination
    ADD CONSTRAINT taxondetermination_taxonverbatim_id_fkey FOREIGN KEY (taxonverbatim_id) REFERENCES taxonverbatim(taxonverbatim_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonlabel_canon_label_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonlabel_matched_label_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonlabel
    ADD CONSTRAINT taxonlabel_matched_label_id_fkey FOREIGN KEY (matched_label_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonlabel_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonlabel
    ADD CONSTRAINT taxonlabel_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonlabel_relationship_ancestor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonlabel_relationship
    ADD CONSTRAINT taxonlabel_relationship_ancestor_id_fkey FOREIGN KEY (ancestor_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonlabel_relationship_descendant_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonlabel_relationship
    ADD CONSTRAINT taxonlabel_relationship_descendant_id_fkey FOREIGN KEY (descendant_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonlabel_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonlineage_childtaxonstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonlineage
    ADD CONSTRAINT taxonlineage_childtaxonstatus_id_fkey FOREIGN KEY (childtaxonstatus_id) REFERENCES taxonstatus(taxonstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonlineage_parenttaxonstatus_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonlineage
    ADD CONSTRAINT taxonlineage_parenttaxonstatus_id_fkey FOREIGN KEY (parenttaxonstatus_id) REFERENCES taxonstatus(taxonstatus_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonoccurrence_collector_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonoccurrence_locationevent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonoccurrence
    ADD CONSTRAINT taxonoccurrence_locationevent_id_fkey FOREIGN KEY (locationevent_id) REFERENCES locationevent(locationevent_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonoccurrence_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonstatus_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonstatus_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonstatus_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonstatus
    ADD CONSTRAINT taxonstatus_taxonlabel_id_fkey FOREIGN KEY (taxonlabel_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxonverbatim_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: taxonverbatim_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE taxonverbatim
    ADD CONSTRAINT taxonverbatim_taxonlabel_id_fkey FOREIGN KEY (taxonlabel_id) REFERENCES taxonlabel(taxonlabel_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: telephone_party_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE telephone
    ADD CONSTRAINT telephone_party_id_fkey FOREIGN KEY (party_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: threatened_taxonlabel_taxonlabel_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--




--
-- Name: trait_taxonoccurrence_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE trait
    ADD CONSTRAINT trait_taxonoccurrence_id_fkey FOREIGN KEY (taxonoccurrence_id) REFERENCES taxonoccurrence(taxonoccurrence_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: voucher_specimenreplicate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE voucher
    ADD CONSTRAINT voucher_specimenreplicate_id_fkey FOREIGN KEY (specimenreplicate_id) REFERENCES specimenreplicate(specimenreplicate_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: voucher_taxonoccurrence_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE voucher
    ADD CONSTRAINT voucher_taxonoccurrence_id_fkey FOREIGN KEY (taxonoccurrence_id) REFERENCES taxonoccurrence(taxonoccurrence_id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: public; Type: ACL; Schema: -; Owner: -
--








--
-- Name: public_validations; Type: ACL; Schema: -; Owner: -
--








--
-- Name: place; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonlabel; Type: ACL; Schema: public; Owner: -
--







--
-- Name: analytical_stem; Type: ACL; Schema: public; Owner: -
--







--
-- Name: 2013-10-18.Brian_Enquist.Canadensys; Type: ACL; Schema: public; Owner: -
--







--
-- Name: 2013-7-10.Naia.range_limiting_factors; Type: ACL; Schema: public; Owner: -
--







--
-- Name: 2014-3-11.Jeff_Ott.climatic_range_determinants; Type: ACL; Schema: public; Owner: -
--







--
-- Name: 2014-6-12.Jeff_Ott.climatic_range_determinants; Type: ACL; Schema: public; Owner: -
--







--
-- Name: 2014-6-4.Iara_Lacher.reserve_prioritization; Type: ACL; Schema: public; Owner: -
--







--
-- Name: address; Type: ACL; Schema: public; Owner: -
--







--
-- Name: aggregateoccurrence; Type: ACL; Schema: public; Owner: -
--







--
-- Name: analytical_plot; Type: ACL; Schema: public; Owner: -
--







--
-- Name: analytical_specimen; Type: ACL; Schema: public; Owner: -
--







--
-- Name: coordinates; Type: ACL; Schema: public; Owner: -
--







--
-- Name: cultivated_family_locations; Type: ACL; Schema: public; Owner: -
--








--
-- Name: family_higher_plant_group; Type: ACL; Schema: public; Owner: -
--







--
-- Name: location; Type: ACL; Schema: public; Owner: -
--







--
-- Name: locationevent; Type: ACL; Schema: public; Owner: -
--







--
-- Name: method; Type: ACL; Schema: public; Owner: -
--







--
-- Name: party; Type: ACL; Schema: public; Owner: -
--







--
-- Name: plantobservation; Type: ACL; Schema: public; Owner: -
--







--
-- Name: project; Type: ACL; Schema: public; Owner: -
--







--
-- Name: source; Type: ACL; Schema: public; Owner: -
--








--
-- Name: stratum; Type: ACL; Schema: public; Owner: -
--







--
-- Name: plot.**; Type: ACL; Schema: public; Owner: -
--







--
-- Name: sourcelist; Type: ACL; Schema: public; Owner: -
--







--
-- Name: specimenreplicate; Type: ACL; Schema: public; Owner: -
--







--
-- Name: stemobservation; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxondetermination; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonoccurrence; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonverbatim; Type: ACL; Schema: public; Owner: -
--







--
-- Name: threatened_taxonlabel; Type: ACL; Schema: public; Owner: -
--







--
-- Name: analytical_stem_view; Type: ACL; Schema: public; Owner: -
--







--
-- Name: classcontributor; Type: ACL; Schema: public; Owner: -
--







--
-- Name: collected_dates; Type: ACL; Schema: public; Owner: -
--








--
-- Name: commclass; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commconcept; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commcorrelation; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commdetermination; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commlineage; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commname; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commstatus; Type: ACL; Schema: public; Owner: -
--







--
-- Name: commusage; Type: ACL; Schema: public; Owner: -
--







--
-- Name: coverindex; Type: ACL; Schema: public; Owner: -
--







--
-- Name: covermethod; Type: ACL; Schema: public; Owner: -
--







--
-- Name: definedvalue; Type: ACL; Schema: public; Owner: -
--







--
-- Name: disturbanceobs; Type: ACL; Schema: public; Owner: -
--







--
-- Name: geoscrub_input; Type: ACL; Schema: public; Owner: -
--







--
-- Name: geoscrub_input_new; Type: ACL; Schema: public; Owner: -
--







--
-- Name: geoscrub_input_view; Type: ACL; Schema: public; Owner: -
--







--
-- Name: graphic; Type: ACL; Schema: public; Owner: -
--







--
-- Name: higher_plant_group_nodes; Type: ACL; Schema: public; Owner: -
--








--
-- Name: locationeventcontributor; Type: ACL; Schema: public; Owner: -
--







--
-- Name: locationeventsynonym; Type: ACL; Schema: public; Owner: -
--







--
-- Name: locationplace; Type: ACL; Schema: public; Owner: -
--







--
-- Name: methodtaxonclass; Type: ACL; Schema: public; Owner: -
--







--
-- Name: note; Type: ACL; Schema: public; Owner: -
--







--
-- Name: notelink; Type: ACL; Schema: public; Owner: -
--







--
-- Name: partymember; Type: ACL; Schema: public; Owner: -
--







--
-- Name: place_visit; Type: ACL; Schema: public; Owner: -
--







--
-- Name: placecorrelation; Type: ACL; Schema: public; Owner: -
--







--
-- Name: placename; Type: ACL; Schema: public; Owner: -
--







--
-- Name: placename_ancestor; Type: ACL; Schema: public; Owner: -
--







--
-- Name: plant; Type: ACL; Schema: public; Owner: -
--







--
-- Name: plot; Type: ACL; Schema: public; Owner: -
--







--
-- Name: projectcontributor; Type: ACL; Schema: public; Owner: -
--







--
-- Name: provider_count; Type: ACL; Schema: public; Owner: -
--








--
-- Name: sourcename; Type: ACL; Schema: public; Owner: -
--








--
-- Name: provider_count_view; Type: ACL; Schema: public; Owner: -
--








--
-- Name: range_modeling_input; Type: ACL; Schema: public; Owner: -
--







--
-- Name: revision; Type: ACL; Schema: public; Owner: -
--







--
-- Name: soilsample; Type: ACL; Schema: public; Owner: -
--







--
-- Name: soiltaxon; Type: ACL; Schema: public; Owner: -
--







--
-- Name: sourcecontributor; Type: ACL; Schema: public; Owner: -
--







--
-- Name: specimen; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxon_trait; Type: ACL; Schema: public; Owner: -
--







--
-- Name: trait; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxon_trait_view; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonalt; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonconcept; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxoncorrelation; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonlabel_relationship; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonlineage; Type: ACL; Schema: public; Owner: -
--







--
-- Name: taxonstatus; Type: ACL; Schema: public; Owner: -
--







--
-- Name: telephone; Type: ACL; Schema: public; Owner: -
--







--
-- Name: threatened_taxonlabel_view; Type: ACL; Schema: public; Owner: -
--







--
-- Name: tnrs_input_name; Type: ACL; Schema: public; Owner: -
--







--
-- Name: userdefined; Type: ACL; Schema: public; Owner: -
--







--
-- Name: voucher; Type: ACL; Schema: public; Owner: -
--







--
-- PostgreSQL database dump complete
--

--
-- PostgreSQL database dump
--








--
-- Name: TNRS; Type: SCHEMA; Schema: -; Owner: -
--

CREATE SCHEMA `TNRS`;


--
-- Name: SCHEMA `TNRS`; Type: COMMENT; Schema: -; Owner: -
--




--
-- Name: geoscrub; Type: SCHEMA; Schema: -; Owner: -
--

CREATE SCHEMA geoscrub;


USE `TNRS`;

--
-- Name: batch__fill(); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: family_is_homonym(varchar(255)); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: genus_is_homonym(varchar(255)); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: map_taxonomic_status(varchar(255), varchar(255)); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__batch_begin(); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__fill(); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: FUNCTION taxon_match__fill(); Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__match_num__fill(); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__match_num__next(); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match_input__copy_to__insert(); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: taxon_name_is_safe(varchar(255)); Type: FUNCTION; Schema: TNRS; Owner: -
--




--
-- Name: unsafe_taxon_names(); Type: FUNCTION; Schema: TNRS; Owner: -
--




USE geoscrub;

--
-- Name: map_coord_validity(int(11)); Type: FUNCTION; Schema: geoscrub; Owner: -
--




--
-- Name: map_geovalidity(int(11)); Type: FUNCTION; Schema: geoscrub; Owner: -
--




USE `TNRS`;





--
-- Name: taxon_match; Type: TABLE; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE TABLE taxon_match (
    batch varchar(255)  NOT NULL,
    match_num int(11) NOT NULL,
    `Name_number` int(11) NOT NULL,
    `Name_submitted` varchar(255) NOT NULL,
    `Overall_score` double,
    `Name_matched` varchar(255),
    `Name_matched_rank` varchar(255),
    `Name_score` double,
    `Name_matched_author` varchar(255),
    `Name_matched_url` varchar(255),
    `Author_matched` varchar(255),
    `Author_score` double,
    `Family_matched` varchar(255),
    `Family_score` double,
    `Name_matched_accepted_family` varchar(255),
    `Genus_matched` varchar(255),
    `Genus_score` double,
    `Specific_epithet_matched` varchar(255),
    `Specific_epithet_score` double,
    `Infraspecific_rank` varchar(255),
    `Infraspecific_epithet_matched` varchar(255),
    `Infraspecific_epithet_score` double,
    `Infraspecific_rank_2` varchar(255),
    `Infraspecific_epithet_2_matched` varchar(255),
    `Infraspecific_epithet_2_score` double,
    `Annotations` varchar(255),
    `Unmatched_terms` varchar(255),
    `Taxonomic_status` varchar(255),
    `Accepted_name` varchar(255),
    `Accepted_name_author` varchar(255),
    `Accepted_name_rank` varchar(255),
    `Accepted_name_url` varchar(255),
    `Accepted_name_species` varchar(255),
    `Accepted_name_family` varchar(255),
    `Selected` varchar(255),
    `Source` varchar(255),
    `Warnings` varchar(255),
    `Accepted_name_lsid` varchar(255),
    is_valid_match int(1) NOT NULL,
    scrubbed_unique_taxon_name varchar(255)
);


--
-- Name: TABLE taxon_match; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: taxon_best_match; Type: VIEW; Schema: TNRS; Owner: -
--




--
-- Name: VIEW taxon_best_match; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: MatchedTaxon; Type: VIEW; Schema: TNRS; Owner: -
--




--
-- Name: VIEW `MatchedTaxon`; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: ValidMatchedTaxon; Type: VIEW; Schema: TNRS; Owner: -
--




--
-- Name: VIEW `ValidMatchedTaxon`; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: batch; Type: TABLE; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE TABLE batch (
    id varchar(255) NOT NULL,
    id_by_time varchar(255),
    time_submitted timestamp NULL ,
    client_version varchar(255)
);


--
-- Name: batch_download_settings; Type: TABLE; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE TABLE batch_download_settings (
    id varchar(255) NOT NULL,
    `E-mail` varchar(255),
    `Id` varchar(255),
    `Job type` varchar(255),
    `Contains Id` int(1),
    `Start time` varchar(255),
    `Finish time` varchar(255),
    `TNRS version` varchar(255),
    `Sources selected` varchar(255),
    `Match threshold` double,
    `Classification` varchar(255),
    `Allow partial matches?` int(1),
    `Sort by source` int(1),
    `Constrain by higher taxonomy` int(1)
);


--
-- Name: TABLE batch_download_settings; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: client_version; Type: TABLE; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE TABLE client_version (
    id varchar(255) NOT NULL,
    global_rev int(11) NOT NULL,
    `/lib/tnrs.py rev` int(11),
    `/bin/tnrs_db rev` int(11)
);


--
-- Name: TABLE client_version; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: COLUMN client_version.global_rev; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: COLUMN client_version.`/lib/tnrs.py rev`; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: COLUMN client_version.`/bin/tnrs_db rev`; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match_input; Type: VIEW; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match_input__copy_to; Type: TABLE; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE TABLE taxon_match_input__copy_to (
    `Name_number` int(11),
    `Name_submitted` varchar(255),
    `Overall_score` double,
    `Name_matched` varchar(255),
    `Name_matched_rank` varchar(255),
    `Name_score` double,
    `Name_matched_author` varchar(255),
    `Name_matched_url` varchar(255),
    `Author_matched` varchar(255),
    `Author_score` double,
    `Family_matched` varchar(255),
    `Family_score` double,
    `Name_matched_accepted_family` varchar(255),
    `Genus_matched` varchar(255),
    `Genus_score` double,
    `Specific_epithet_matched` varchar(255),
    `Specific_epithet_score` double,
    `Infraspecific_rank` varchar(255),
    `Infraspecific_epithet_matched` varchar(255),
    `Infraspecific_epithet_score` double,
    `Infraspecific_rank_2` varchar(255),
    `Infraspecific_epithet_2_matched` varchar(255),
    `Infraspecific_epithet_2_score` double,
    `Annotations` varchar(255),
    `Unmatched_terms` varchar(255),
    `Taxonomic_status` varchar(255),
    `Accepted_name` varchar(255),
    `Accepted_name_author` varchar(255),
    `Accepted_name_rank` varchar(255),
    `Accepted_name_url` varchar(255),
    `Accepted_name_species` varchar(255),
    `Accepted_name_family` varchar(255),
    `Selected` varchar(255),
    `Source` varchar(255),
    `Warnings` varchar(255),
    `Accepted_name_lsid` varchar(255)
);


--
-- Name: taxon_scrub.scrubbed_unique_taxon_name.*; Type: VIEW; Schema: TNRS; Owner: -
--




--
-- Name: VIEW `taxon_scrub.scrubbed_unique_taxon_name.*`; Type: COMMENT; Schema: TNRS; Owner: -
--




--
-- Name: taxon_scrub; Type: VIEW; Schema: TNRS; Owner: -
--




--
-- Name: VIEW taxon_scrub; Type: COMMENT; Schema: TNRS; Owner: -
--




USE geoscrub;

--
-- Name: county_centroids; Type: TABLE; Schema: geoscrub; Owner: -; Tablespace: 
--

CREATE TABLE county_centroids (
    `*row_num` int(11) NOT NULL,
    `stateProvince` varchar(255),
    county varchar(255),
    `decimalLatitude` double,
    `decimalLongitude` double,
    `*error_km` double
);


--
-- Name: geoscrub_output; Type: TABLE; Schema: geoscrub; Owner: -; Tablespace: 
--

CREATE TABLE geoscrub_output (
    `*row_num` int(11) NOT NULL,
    `decimalLatitude` double NOT NULL,
    `decimalLongitude` double NOT NULL,
    country varchar(255),
    `stateProvince` varchar(255),
    county varchar(255),
    `acceptedCountry` varchar(255),
    `acceptedStateProvince` varchar(255),
    `acceptedCounty` varchar(255),
    `latLongDomainValid_verbatim` int(11),
    `latLongInCountry_verbatim` int(11),
    `latLongInStateProvince_verbatim` int(11),
    `latLongInCounty_verbatim` int(11),
    `latLongDomainValid` int(1),
    `latLongInCountry` int(1),
    `latLongInStateProvince` int(1),
    `latLongInCounty` int(1),
    geovalid int(1)
);


USE `TNRS`;

--
-- Name: batch_download_settings_pkey; Type: CONSTRAINT; Schema: TNRS; Owner: -; Tablespace: 
--

ALTER TABLE batch_download_settings
    ADD CONSTRAINT batch_download_settings_pkey PRIMARY KEY (id);


--
-- Name: batch_id_by_time_key; Type: CONSTRAINT; Schema: TNRS; Owner: -; Tablespace: 
--

ALTER TABLE batch
    ADD CONSTRAINT batch_id_by_time_key UNIQUE (id_by_time);


--
-- Name: batch_pkey; Type: CONSTRAINT; Schema: TNRS; Owner: -; Tablespace: 
--

ALTER TABLE batch
    ADD CONSTRAINT batch_pkey PRIMARY KEY (id);


--
-- Name: client_version_pkey; Type: CONSTRAINT; Schema: TNRS; Owner: -; Tablespace: 
--

ALTER TABLE client_version
    ADD CONSTRAINT client_version_pkey PRIMARY KEY (id);


--
-- Name: taxon_match_pkey; Type: CONSTRAINT; Schema: TNRS; Owner: -; Tablespace: 
--

ALTER TABLE taxon_match
    ADD CONSTRAINT taxon_match_pkey PRIMARY KEY (batch, match_num);


USE geoscrub;

--
-- Name: county_centroids_pkey; Type: CONSTRAINT; Schema: geoscrub; Owner: -; Tablespace: 
--

ALTER TABLE county_centroids
    ADD CONSTRAINT county_centroids_pkey PRIMARY KEY (`*row_num`);


--
-- Name: geoscrub_output_pkey; Type: CONSTRAINT; Schema: geoscrub; Owner: -; Tablespace: 
--

ALTER TABLE geoscrub_output
    ADD CONSTRAINT geoscrub_output_pkey PRIMARY KEY (`*row_num`);


USE `TNRS`;

--
-- Name: batch_client_version_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE INDEX batch_client_version_idx ON batch  (client_version);


--
-- Name: taxon_best_match__valid_match; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: 
--




--
-- Name: taxon_match_Name_submitted_idx; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: 
--

CREATE INDEX `taxon_match_Name_submitted_idx` ON taxon_match  (`Name_submitted`);


--
-- Name: taxon_match__one_selected_match; Type: INDEX; Schema: TNRS; Owner: -; Tablespace: 
--




USE geoscrub;

--
-- Name: geoscrub_output__unique; Type: INDEX; Schema: geoscrub; Owner: -; Tablespace: 
--




USE `TNRS`;

--
-- Name: batch__fill; Type: TRIGGER; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__batch_begin; Type: TRIGGER; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__fill; Type: TRIGGER; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match__match_num__fill; Type: TRIGGER; Schema: TNRS; Owner: -
--




--
-- Name: taxon_match_input__copy_to__insert; Type: TRIGGER; Schema: TNRS; Owner: -
--




--
-- Name: batch_client_version_fkey; Type: FK CONSTRAINT; Schema: TNRS; Owner: -
--

ALTER TABLE batch
    ADD CONSTRAINT batch_client_version_fkey FOREIGN KEY (client_version) REFERENCES client_version(id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: batch_download_settings_id_fkey; Type: FK CONSTRAINT; Schema: TNRS; Owner: -
--

ALTER TABLE batch_download_settings
    ADD CONSTRAINT batch_download_settings_id_fkey FOREIGN KEY (id) REFERENCES batch(id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: taxon_match_batch_fkey; Type: FK CONSTRAINT; Schema: TNRS; Owner: -
--

ALTER TABLE taxon_match
    ADD CONSTRAINT taxon_match_batch_fkey FOREIGN KEY (batch) REFERENCES batch(id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: TNRS; Type: ACL; Schema: -; Owner: -
--







--
-- Name: taxon_match; Type: ACL; Schema: TNRS; Owner: -
--







--
-- Name: taxon_best_match; Type: ACL; Schema: TNRS; Owner: -
--







--
-- Name: MatchedTaxon; Type: ACL; Schema: TNRS; Owner: -
--







--
-- Name: ValidMatchedTaxon; Type: ACL; Schema: TNRS; Owner: -
--







--
-- Name: taxon_match_input; Type: ACL; Schema: TNRS; Owner: -
--







--
-- Name: taxon_scrub.scrubbed_unique_taxon_name.*; Type: ACL; Schema: TNRS; Owner: -
--







--
-- Name: taxon_scrub; Type: ACL; Schema: TNRS; Owner: -
--







--
-- PostgreSQL database dump complete
--

