<?xml version="1.0" encoding="UTF-8"?><database name="neotoma" schema="ndb" type="PostgreSQL - 15.12">
   <sequences>
      <sequence increment="1" name="decayconstants_decayconstantid_seq" startValue="1"/>
      <sequence increment="1" name="depthreferencesystem_depthreferencesystemid_seq" startValue="1"/>
      <sequence increment="1" name="entitycovertypes_entitycoverid_seq" startValue="1"/>
      <sequence increment="1" name="hiatuses_hiatusid_seq" startValue="1"/>
      <sequence increment="1" name="landusetypes_landusecovertypeid_seq" startValue="1"/>
      <sequence increment="1" name="leadmodelbasis_pbbasisid_seq" startValue="1"/>
      <sequence increment="1" name="seq_agetypes_agetypeid" startValue="1"/>
      <sequence increment="1" name="seq_aggregatechronologies_aggregatechronid" startValue="1"/>
      <sequence increment="1" name="seq_aggregatedatasets_aggregatedatasetid" startValue="1"/>
      <sequence increment="1" name="seq_aggregateordertypes_aggregateordertypeid" startValue="1"/>
      <sequence increment="1" name="seq_analysisunitaltdepthscales_altdepthscaleid" startValue="1"/>
      <sequence increment="1" name="seq_analysisunits_analysisunitid" startValue="1"/>
      <sequence increment="1" name="seq_calibrationcurves_calibrationcurveid" startValue="1"/>
      <sequence increment="1" name="seq_calibrationprograms_calibrationprogramid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontrolaccuracydirections_accuracydirectionid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontrolaccuracydistributions_accuracydistributionid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontrolaccuracyranks_accuracyrankid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontrolprecisionranks_precisionrankid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontrolranks_chroncontrolrankid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontrols_chroncontrolid" startValue="1"/>
      <sequence increment="1" name="seq_chroncontroltypes_chroncontroltypeid" startValue="1"/>
      <sequence increment="1" name="seq_chronologies_chronologyid" startValue="1"/>
      <sequence increment="1" name="seq_collectiontypes_colltypeid" startValue="1"/>
      <sequence increment="1" name="seq_collectionunits_collectionunitid" startValue="1"/>
      <sequence increment="1" name="seq_collectors_collectorid" startValue="1"/>
      <sequence increment="1" name="seq_constituentdatabases_databaseid" startValue="1"/>
      <sequence increment="1" name="seq_contacts_contactid" startValue="1"/>
      <sequence increment="1" name="seq_contactstatuses_contactstatusid" startValue="1"/>
      <sequence increment="1" name="seq_data_dataid" startValue="1"/>
      <sequence increment="1" name="seq_datasets_datasetid" startValue="1"/>
      <sequence increment="1" name="seq_datasetsubmissions_submissionid" startValue="1"/>
      <sequence increment="1" name="seq_datasetsubmissiontypes_submissiontypeid" startValue="1"/>
      <sequence increment="1" name="seq_datasettypes_datasettypeid" startValue="1"/>
      <sequence increment="1" name="seq_datasetvariables_datasetvariableid" startValue="1"/>
      <sequence increment="1" name="seq_datataxonnotes_datataxonnotesid" startValue="1"/>
      <sequence increment="1" name="seq_depagenttypes_depagentid" startValue="1"/>
      <sequence increment="1" name="seq_depenvttypes_depenvtid" startValue="1"/>
      <sequence increment="1" name="seq_ecolsettypes_ecolsetid" startValue="1"/>
      <sequence increment="1" name="seq_elementmaturities_maturityid" startValue="1"/>
      <sequence increment="1" name="seq_elementportions_portionid" startValue="1"/>
      <sequence increment="1" name="seq_elementsymmetries_symmetryid" startValue="1"/>
      <sequence increment="1" name="seq_elementtaxagroups_elementtaxagroupid" startValue="1"/>
      <sequence increment="1" name="seq_elementtypes_elementtypeid" startValue="1"/>
      <sequence increment="1" name="seq_embargo_embargoid" startValue="1"/>
      <sequence increment="1" name="seq_eventchronology_eventchronologyid" startValue="1"/>
      <sequence increment="1" name="seq_events_eventid" startValue="1"/>
      <sequence increment="1" name="seq_eventtypes_eventtypeid" startValue="1"/>
      <sequence increment="1" name="seq_externaldatabases_extdatabaseid" startValue="1"/>
      <sequence increment="1" name="seq_faciestypes_faciesid" startValue="1"/>
      <sequence increment="1" name="seq_formtaxa_formtaxonid" startValue="1"/>
      <sequence increment="1" name="seq_fractiondated_fractionid" startValue="1"/>
      <sequence increment="1" name="seq_geochronology_geochronid" startValue="1"/>
      <sequence increment="1" name="seq_geochrontypes_geochrontypeid" startValue="1"/>
      <sequence increment="1" name="seq_geopoliticalunits_geopoliticalid" startValue="1"/>
      <sequence increment="1" name="seq_isobiomarkerbandtypes_isobiomarkerbandtypeid" startValue="1"/>
      <sequence increment="1" name="seq_isobiomarkertypes_isobiomarkertypeid" startValue="1"/>
      <sequence increment="1" name="seq_isoinstrumentationtypes_isoinstrumentationtypeid" startValue="1"/>
      <sequence increment="1" name="seq_isomaterialanalyzedtypes_isomatanaltypeid" startValue="1"/>
      <sequence increment="1" name="seq_isometadata_isometadataid" startValue="1"/>
      <sequence increment="1" name="seq_isopretreatmenttypes_isopretreatmenttypeid" startValue="1"/>
      <sequence increment="1" name="seq_isosampleintrosystemtypes_isosampleintrosystemtypeid" startValue="1"/>
      <sequence increment="1" name="seq_isosampleorigintypes_isosampleorigintypeid" startValue="1"/>
      <sequence increment="1" name="seq_isoscaletypes_isoscaletypeid" startValue="1"/>
      <sequence increment="1" name="seq_isospecimendata_isospecimendataid" startValue="1"/>
      <sequence increment="1" name="seq_isostandardtypes_isostandardtypeid" startValue="1"/>
      <sequence increment="1" name="seq_isosubstratetypes_isosubstratetypeid" startValue="1"/>
      <sequence increment="1" name="seq_keywords_keywordid" startValue="1"/>
      <sequence increment="1" name="seq_lakeparametertypes_lakeparameterid" startValue="1"/>
      <sequence increment="1" name="seq_lithology_lithologyid" startValue="1"/>
      <sequence increment="1" name="seq_lithostrat_lithostratid" startValue="1"/>
      <sequence increment="1" name="seq_lithostratunits_lithostratunitid" startValue="1"/>
      <sequence increment="1" name="seq_publicationauthors_authorid" startValue="1"/>
      <sequence increment="1" name="seq_publicationeditors_editorid" startValue="1"/>
      <sequence increment="1" name="seq_publications_publicationid" startValue="1"/>
      <sequence increment="1" name="seq_publicationtranslators_translatorid" startValue="1"/>
      <sequence increment="1" name="seq_publicationtypes_pubtypeid" startValue="1"/>
      <sequence increment="1" name="seq_radiocarbonmethods_radiocarbonmethodid" startValue="1"/>
      <sequence increment="1" name="seq_relativeages_relativeageid" startValue="1"/>
      <sequence increment="1" name="seq_relativeagescales_relativeagescaleid" startValue="1"/>
      <sequence increment="1" name="seq_relativeageunits_relativeageunitid" startValue="1"/>
      <sequence increment="1" name="seq_relativechronology_relativechronid" startValue="1"/>
      <sequence increment="1" name="seq_repositoryinstitutions_repositoryid" startValue="1"/>
      <sequence increment="1" name="seq_rocktypes_rocktypeid" startValue="1"/>
      <sequence increment="1" name="seq_sampleages_sampleageid" startValue="1"/>
      <sequence increment="1" name="seq_sampleanalysts_analystid" startValue="1"/>
      <sequence increment="1" name="seq_samples_sampleid" startValue="1"/>
      <sequence increment="1" name="seq_sitegeopolitical_sitegeopoliticalid" startValue="1"/>
      <sequence increment="1" name="seq_siteimages_siteimageid" startValue="1"/>
      <sequence increment="1" name="seq_sites_siteid" startValue="1"/>
      <sequence increment="1" name="seq_specimendates_specimendateid" startValue="1"/>
      <sequence increment="1" name="seq_specimendatescal_specimendatecalid" startValue="1"/>
      <sequence increment="1" name="seq_specimendomesticstatustypes_domesticstatusid" startValue="1"/>
      <sequence increment="1" name="seq_specimens_specimenid" startValue="1"/>
      <sequence increment="1" name="seq_specimensextypes_sexid" startValue="1"/>
      <sequence increment="1" name="seq_synonyms_synonymid" startValue="1"/>
      <sequence increment="1" name="seq_synonymtypes_synonymtypeid" startValue="1"/>
      <sequence increment="1" name="seq_synonymy_synonymyid" startValue="1"/>
      <sequence increment="1" name="seq_sysdiagrams_diagram_id" startValue="1"/>
      <sequence increment="1" name="seq_taphonomicsystems_taphonomicsystemid" startValue="1"/>
      <sequence increment="1" name="seq_taphonomictypes_taphonomictypeid" startValue="1"/>
      <sequence increment="1" name="seq_taxa_taxonid" startValue="1"/>
      <sequence increment="1" name="seq_taxaalthierarchytypes_taxaalthierarchytypeid" startValue="1"/>
      <sequence increment="1" name="seq_tephras_tephraid" startValue="1"/>
      <sequence increment="1" name="seq_variablecontexts_variablecontextid" startValue="1"/>
      <sequence increment="1" name="seq_variableelements_variableelementid" startValue="1"/>
      <sequence increment="1" name="seq_variables_variableid" startValue="1"/>
      <sequence increment="1" name="seq_variableunits_variableunitsid" startValue="1"/>
      <sequence increment="1" name="speleothemdriptypes_speleothemdriptypeid_seq" startValue="1"/>
      <sequence increment="1" name="speleothementitystatuses_entitystatusid_seq" startValue="1"/>
      <sequence increment="1" name="speleothems_entityid_seq" startValue="1"/>
      <sequence increment="1" name="speleothemtypes_speleothemtypeid_seq" startValue="1"/>
      <sequence increment="1" name="uncertaintybases_uncertaintybasisid_seq" startValue="1"/>
      <sequence increment="1" name="vegetationcovertypes_vegetationcovertypeid_seq" startValue="1"/>
   </sequences>
   <tables>
      <table catalog="neotoma" name="accumulationrates" numRows="1089" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="analysisunitid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_accumulationrates_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="chronologyid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chronologyid" foreignKey="fk_accumulationrates_chronologies" implied="false" onDeleteCascade="false" schema="ndb" table="chronologies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="accumulationrate" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="variableunitsid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="fk_accumulationrates_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="variableunits"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="analysisunitid" sequenceNumberInPK="1"/>
         <primaryKey column="chronologyid" sequenceNumberInPK="2"/>
         <index name="accumulationrates_pkey" unique="true">
            <column ascending="true" name="analysisunitid"/>
            <column ascending="true" name="chronologyid"/>
         </index>
      </table>
      <table catalog="neotoma" name="agetypes" numRows="5" remarks="Lookup table of Age Types or units. This table is referenced by the Chronologies and Geochronology tables." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_agetypes_agetypeid'::regclass)" digits="0" id="0" name="agetypeid" nullable="false" remarks="PK: An arbitrary Age Type identification number" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="agetypeid" foreignKey="fk_aggregatechronologies_agetypes" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatechronologies"/>
            <child catalog="neotoma" column="agetypeid" foreignKey="fk_chroncontrols_agetypes" implied="false" onDeleteCascade="false" schema="ndb" table="chroncontrols"/>
            <child catalog="neotoma" column="agetypeid" foreignKey="fk_chronologies_agetypes" implied="false" onDeleteCascade="true" schema="ndb" table="chronologies"/>
            <child catalog="neotoma" column="agetypeid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dsageranges"/>
            <child catalog="neotoma" column="agetypeid" foreignKey="fk_geochronology_agetypes" implied="false" onDeleteCascade="false" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="agetype" nullable="false" remarks="Age type or units:&#10;* Calendar years AD/BC&#10;* Calendar years BP&#10;* Calibrated radiocarbon years BP&#10;* Radiocarbon years BP&#10;* Varve years BP" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="precedence" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="shortagetype" nullable="true" remarks="" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="agetypeid" sequenceNumberInPK="1"/>
         <index name="agetypes_pkey" unique="true">
            <column ascending="true" name="agetypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="aggregatechronologies" numRows="7" remarks="This table stores metadata for Aggregate Chronologies. An Aggregate Chronology refers to an explicit chronology assigned to a sample Aggregate. The individual Aggregate Samples have ages assigned in the AggregateSampleAges table. An Aggregate Chronology would be used, for example, for a set of packrat middens assigned to an AggregateDataset. The Aggregate Chronology is analogous to the Chronology assigned to samples from a single Collection Unit.&#10;An Aggregate may have more than one Aggregate Chronology, for example one in radiocarbon years and another in calibrated radiocarbon years. One Aggregate Chronology per Age Type may be designated the default, which is the Aggregate Chronology currently preferred by the database stewards." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_aggregatechronologies_aggregatechronid'::regclass)" digits="0" id="0" name="aggregatechronid" nullable="false" remarks="PK: An arbitrary Aggregate Chronology identification number" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="aggregatechronid" foreignKey="fk_aggregatesampleages_aggregatechronologies" implied="false" onDeleteCascade="false" schema="ndb" table="aggregatesampleages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="aggregatedatasetid" nullable="false" remarks="Dataset to which the Aggregate Chronology applies. Field links to the AggregateDatasets table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="aggregatedatasetid" foreignKey="fk_aggregatechronologies_aggregatedatasets" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatedatasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="agetypeid" nullable="false" remarks="Age type or units. Field links to the AgeTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="agetypeid" foreignKey="fk_aggregatechronologies_agetypes" implied="false" onDeleteCascade="true" schema="ndb" table="agetypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="isdefault" nullable="false" remarks="Indicates whether the Aggregate Chronology is a default or not. Default status is determined by a Neotoma data steward. Aggregate Datasets may have more than one default Aggregate Chronology, but may have only one default Aggregate Chronology per Age Type." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="chronologyname" nullable="true" remarks="Optional name for the Chronology." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="ageboundyounger" nullable="true" remarks="The younger reliable age bound for the Aggregate Chronology. Younger ages may be assigned to samples, but are not regarded as reliable. If the entire Chronology is considered reliable, AgeBoundYounger is assigned the youngest sample age rounded down to the nearest 10. Thus, for 72 BP, AgeBoundYounger = 70 BP; for -45 BP, AgeBoundYounger = -50 BP." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="ageboundolder" nullable="true" remarks="The older reliable age bound for the Aggregate Chronology. Ages older than AgeOlderBound may be assigned to samples, but are not regarded as reliable. This situation is particularly true for ages extrapolated beyond the oldest Chron Control. If the entire Chronology is considered reliable, AgeBoundOlder is assigned the oldest sample age rounded up to the nearest 10. Thus, for 12564 BP, AgeBoundOlder is 12570." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="notes" nullable="true" remarks="Free form notes or comments about the Aggregate Chronology." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="8" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="aggregatechronid" sequenceNumberInPK="1"/>
         <index name="aggregatechronologies_pkey" unique="true">
            <column ascending="true" name="aggregatechronid"/>
         </index>
      </table>
      <table catalog="neotoma" name="aggregatedatasets" numRows="11" remarks="Aggregate Datasets are aggregates of samples of a particular data type. Some examples:  &#10;* Plant macrofossil samples from a group of packrat middens collected from a particular valley, mountain range, or other similarly defined geographic area. Each midden is from a different Site or Collection Unit, but they are grouped into time series for that area and are published as a single dataset.&#10;* Samples collected from 32 cutbanks along several km of Roberts Creek, northeast Iowa. Each sample is from a different site, but they form a time series from 0-12,510 14C yr BP, and pollen, plant macrofossils, and beetles were published and graphed as if from a single site.&#10;* A set of pollen surface samples from a particular region or study that were published and analyzed as a single dataset and submitted to the database as a single dataset.&#10;The examples above are datasets predefined in the database. New aggregate datasets could be assembled for particular studies, for example all the pollen samples for a given time slice for a given geographic region." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_aggregatedatasets_aggregatedatasetid'::regclass)" digits="0" id="0" name="aggregatedatasetid" nullable="false" remarks="An arbitrary Aggregate Dataset identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="aggregatedatasetid" foreignKey="fk_aggregatechronologies_aggregatedatasets" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatechronologies"/>
            <child catalog="neotoma" column="aggregatedatasetid" foreignKey="fk_aggregatesampleages_aggregatedatasets" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatesampleages"/>
            <child catalog="neotoma" column="aggregatedatasetid" foreignKey="fk_aggregatesamples_aggregatedatasets" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatesamples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="aggregatedatasetname" nullable="false" remarks="Name of Aggregate Dataset." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="aggregateordertypeid" nullable="false" remarks="Aggregate Order Type identification number. Field links to the AggregateOrderTypes lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="aggregateordertypeid" foreignKey="fk_aggregatedatasets_aggregateordertypes" implied="false" onDeleteCascade="true" schema="ndb" table="aggregateordertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="Free form notes about the Aggregate Order Type." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="aggregatedatasetid" sequenceNumberInPK="1"/>
         <index name="aggregatedatasets_pkey" unique="true">
            <column ascending="true" name="aggregatedatasetid"/>
         </index>
      </table>
      <table catalog="neotoma" name="aggregateordertypes" numRows="7" remarks="Lookup table for Aggregate Order Types. Table is referenced by the AggregateDatasets table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_aggregateordertypes_aggregateordertypeid'::regclass)" digits="0" id="0" name="aggregateordertypeid" nullable="false" remarks="An arbitrary Aggregate Order Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="aggregateordertypeid" foreignKey="fk_aggregatedatasets_aggregateordertypes" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatedatasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="aggregateordertype" nullable="false" remarks="The Aggregate Order Type." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="notes" nullable="true" remarks="Free form notes or comments about the Aggregate Order Type." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="aggregateordertypeid" sequenceNumberInPK="1"/>
         <index name="aggregateordertypes_pkey" unique="true">
            <column ascending="true" name="aggregateordertypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="aggregatesampleages" numRows="369" remarks="This table stores the links to the ages of samples in an Aggregate Dataset. The table is necessary because samples may be from Collection Units with multiple chronologies, and this table stores the links to the sample ages desired for the Aggregate Dataset." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="aggregatedatasetid" nullable="false" remarks="Aggregate Dataset identification number. Field links to the AggregateDatasets table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="aggregatedatasetid" foreignKey="fk_aggregatesampleages_aggregatedatasets" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatedatasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="aggregatechronid" nullable="false" remarks="Aggregate Chronology identification number Field links to the AggregateChronologies table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="aggregatechronid" foreignKey="fk_aggregatesampleages_aggregatechronologies" implied="false" onDeleteCascade="false" schema="ndb" table="aggregatechronologies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="sampleageid" nullable="false" remarks="Sample Age ID number. Field links to the SampleAges table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleageid" foreignKey="fk_aggregatesampleages_sampleages" implied="false" onDeleteCascade="true" schema="ndb" table="sampleages"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="aggregatedatasetid" sequenceNumberInPK="1"/>
         <primaryKey column="aggregatechronid" sequenceNumberInPK="2"/>
         <primaryKey column="sampleageid" sequenceNumberInPK="3"/>
         <index name="aggregatesampleages_pkey" unique="true">
            <column ascending="true" name="aggregatedatasetid"/>
            <column ascending="true" name="aggregatechronid"/>
            <column ascending="true" name="sampleageid"/>
         </index>
      </table>
      <table catalog="neotoma" name="aggregatesamples" numRows="5001" remarks="This table stores the samples in Aggregate Datasets." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="aggregatedatasetid" nullable="false" remarks="An arbitrary Aggregate Dataset identification number. Field links to the AggregateDatasets table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="aggregatedatasetid" foreignKey="fk_aggregatesamples_aggregatedatasets" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatedatasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sampleid" nullable="false" remarks="Sample ID number. Field links to the Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="fk_aggregatesamples_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="aggregatedatasetid" sequenceNumberInPK="1"/>
         <primaryKey column="sampleid" sequenceNumberInPK="2"/>
         <index name="aggregatesamples_pkey" unique="true">
            <column ascending="true" name="aggregatedatasetid"/>
            <column ascending="true" name="sampleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="analysisunitaltdepths" numRows="7560" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="analysisunitid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_analysisunitaltdepths_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="altdepthscaleid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="altdepthscaleid" foreignKey="fk_analysisunitaltdepths_analysisunitaltdepthscales" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunitaltdepthscales"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="altdepth" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="altdepthscaleid" sequenceNumberInPK="1"/>
         <primaryKey column="analysisunitid" sequenceNumberInPK="2"/>
         <index name="analysisunitaltdepths_pkey" unique="true">
            <column ascending="true" name="altdepthscaleid"/>
            <column ascending="true" name="analysisunitid"/>
         </index>
      </table>
      <table catalog="neotoma" name="analysisunitaltdepthscales" numRows="62" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_analysisunitaltdepthscales_altdepthscaleid'::regclass)" digits="0" id="0" name="altdepthscaleid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="altdepthscaleid" foreignKey="fk_analysisunitaltdepths_analysisunitaltdepthscales" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunitaltdepths"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="altdepthid" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="altdepthname" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="variableunitsid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="fk_analysisunitaltdepths_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="variableunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="altdepthscaleid" sequenceNumberInPK="1"/>
         <index name="analysisunitaltdepthscales_pkey" unique="true">
            <column ascending="true" name="altdepthscaleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="analysisunitlithostrat" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="analysisunitid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_analysisunitlithostrat_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="lithostratid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="lithostratid" foreignKey="fk_analysisunitlithostrat_lithostrat" implied="false" onDeleteCascade="true" schema="ndb" table="lithostrat"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="analysisunitid" sequenceNumberInPK="1"/>
         <primaryKey column="lithostratid" sequenceNumberInPK="2"/>
         <index name="analysisunitlithostrat_pkey" unique="true">
            <column ascending="true" name="analysisunitid"/>
            <column ascending="true" name="lithostratid"/>
         </index>
      </table>
      <table catalog="neotoma" name="analysisunits" numRows="878071" remarks="This table stores the data for Analysis Units." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_analysisunits_analysisunitid'::regclass)" digits="0" id="0" name="analysisunitid" nullable="false" remarks="An arbitrary Analysis Unit identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_accumulationrates_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="accumulationrates"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_analysisunitaltdepths_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunitaltdepths"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_analysisunitlithostrat_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunitlithostrat"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_chroncontrols_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_depagents_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="depagents"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="evc_alu" implied="false" onDeleteCascade="false" schema="ndb" table="eventchronology"/>
            <child catalog="neotoma" column="analysisunitend" foreignKey="hiatuses_analysisunitend_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="hiatuses"/>
            <child catalog="neotoma" column="analysisunitstart" foreignKey="hiatuses_analysisunitstart_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="hiatuses"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="leadmodels_analysisunitid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="leadmodels"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_relativechronology_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="relativechronology"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_samples_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
            <child catalog="neotoma" column="analysisunitid" foreignKey="fk_tephras_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="tephras"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="false" remarks="Collection Unit ID number. Field links to CollectionUnits table. Every Analysis Unit belongs to a Collection Unit." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="fk_analysisunits_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="analysisunitname" nullable="true" remarks="Optional name for an Analysis Unit. Analysis Units are usually designated with either a depth or a name, sometimes both." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="depth" nullable="true" remarks="Optional depth of the Analysis Unit in cm. Depths are typically designated for Analysis Units from cores and for Analysis Units excavated in arbitrary (e.g. 10 cm) levels. Depths are normally the midpoints of arbitrary levels. For example, for a level excavated from 10 to 20 cm or for a core section from 10 to 15 cm, the depth is 15. Designating depths as midpoints and thicknesses facilitates calculation of ages from age models that utilize single midpoint depths for Analysis Units rather than top and bottom depths. Of course, top and bottom depths can be calculated from midpoint depths and thicknesses. For many microfossil core samples, only the midpoint depths are known or published; the diameter or width of the sampling device is often not given." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="thickness" nullable="true" remarks="Optional thickness of the Analysis Unit in cm. For many microfossil core samples, the depths are treated as points, and the thicknesses are not given in the publications, although 0.5 to 1.0 cm would be typical." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="faciesid" nullable="true" remarks="Sedimentary facies of the Analysis Unit. Field links to the FaciesTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="faciesid" foreignKey="fk_analysisunits_faciestypes" implied="false" onDeleteCascade="true" schema="ndb" table="faciestypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="mixed" nullable="false" remarks="Indicates whether specimens in the Analysis Unit are of mixed ages, for example Pleistocene fossils occurring with late Holocene fossils. Although Analysis Units may be mixed, samples from the Analysis Unit may not be, for example individually radiocarbon dated specimens." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="igsn" nullable="true" remarks="International Geo Sample Number. The IGSN is a unique identifier for a Geoscience sample. They are assigned by the SESAR, the System for Earth Sample Registration (www.geosamples.org), which is a registry that provides and administers the unique identifiers. IGSN’s may be assigned to all types of geoscience samples, including cores, rocks, minerals, and even fluids. Their purpose is to facilitate sharing and correlation of samples and sample-based data. For data in Neotoma, their primary value would be for correlation various samples from the same Analysis Units, for example pollen, charcoal, diatoms, and geochemical analyses. Conceivably, the AnalysisUnitID could be used for this purpose; however, IGSN’s could be assigned by projects before their data are submitted to the database. Moreover, AnalysisUnitID’s are intended to be internal to the database. Although IGSN’s could be assigned to Neotoma Collection Units and Samples, their primary value lies in their assignment to Analysis Units. IGSN’s are not yet assigned to Neotoma Analysis Units; however, that may change after consultation with SESAR." size="40" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="notes" nullable="true" remarks="Free form notes or comments about the Analysis Unit." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="9" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="analysisunitid" sequenceNumberInPK="1"/>
         <index name="analysisunits_pkey" unique="true">
            <column ascending="true" name="analysisunitid"/>
         </index>
         <index name="analysisunits_collunit_idx" unique="false">
            <column ascending="true" name="collectionunitid"/>
         </index>
         <index name="analysisunits_facies_idx" unique="false">
            <column ascending="true" name="faciesid"/>
         </index>
      </table>
      <table catalog="neotoma" name="calibrationcurves" numRows="15" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_calibrationcurves_calibrationcurveid'::regclass)" digits="0" id="0" name="calibrationcurveid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="calibrationcurveid" foreignKey="fk_chroncontrolscal14c_calibrationcurves" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolscal14c"/>
            <child catalog="neotoma" column="calibrationcurveid" foreignKey="fk_specimendatescal_calibrationcurves" implied="false" onDeleteCascade="true" schema="ndb" table="specimendatescal"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calibrationcurve" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="publicationid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_calibrationcurves_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="calibrationcurveid" sequenceNumberInPK="1"/>
         <index name="calibrationcurves_pkey" unique="true">
            <column ascending="true" name="calibrationcurveid"/>
         </index>
      </table>
      <table catalog="neotoma" name="calibrationprograms" numRows="73" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_calibrationprograms_calibrationprogramid'::regclass)" digits="0" id="0" name="calibrationprogramid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="calibrationprogramid" foreignKey="fk_chroncontrolscal14c_calibrationprograms" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolscal14c"/>
            <child catalog="neotoma" column="calibrationprogramid" foreignKey="fk_specimendatescal_calibrationprograms" implied="false" onDeleteCascade="true" schema="ndb" table="specimendatescal"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calibrationprogram" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="version" nullable="true" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="calibrationprogramid" sequenceNumberInPK="1"/>
         <index name="calibrationprograms_pkey" unique="true">
            <column ascending="true" name="calibrationprogramid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrolaccuracydirections" numRows="3" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontrolaccuracydirections_accuracydirectionid'::regclass)" digits="0" id="0" name="accuracydirectionid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="accuracydirectionid" foreignKey="fk_chroncontrolranks_chroncontrolaccuracydirections" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolranks"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="accuracydirection" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="accuracydirectionid" sequenceNumberInPK="1"/>
         <index name="chroncontrolaccuracydirections_pkey" unique="true">
            <column ascending="true" name="accuracydirectionid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrolaccuracydistributions" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontrolaccuracydistributions_accuracydistributionid'::regclass)" digits="0" id="0" name="accuracydistributionid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="accuracydistributionid" foreignKey="fk_chroncontrolranks_chroncontrolaccuracydistributions" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolranks"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="accuracydistribution" nullable="false" remarks="" size="40" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="accuracydistributionid" sequenceNumberInPK="1"/>
         <index name="chroncontrolaccuracydistributions_pkey" unique="true">
            <column ascending="true" name="accuracydistributionid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrolaccuracyranks" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontrolaccuracyranks_accuracyrankid'::regclass)" digits="0" id="0" name="accuracyrankid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="accuracyrankid" foreignKey="fk_chroncontrolranks_chroncontrolaccuracyranks" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolranks"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="accuracyrank" nullable="false" remarks="" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="accuracyrankid" sequenceNumberInPK="1"/>
         <index name="chroncontrolaccuracyranks_pkey" unique="true">
            <column ascending="true" name="accuracyrankid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrolprecisionranks" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontrolprecisionranks_precisionrankid'::regclass)" digits="0" id="0" name="precisionrankid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="precisionrankid" foreignKey="fk_chroncontrolranks_chroncontrolprecisionranks" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolranks"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="precisionrank" nullable="false" remarks="" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="precisionrankid" sequenceNumberInPK="1"/>
         <index name="chroncontrolprecisionranks_pkey" unique="true">
            <column ascending="true" name="precisionrankid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrolranks" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontrolranks_chroncontrolrankid'::regclass)" digits="0" id="0" name="chroncontrolrankid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="chroncontrolid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontrolid" foreignKey="fk_chroncontrolranks_chroncontrols" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="accuracyrankid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="accuracyrankid" foreignKey="fk_chroncontrolranks_chroncontrolaccuracyranks" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolaccuracyranks"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="accuracydirectionid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="accuracydirectionid" foreignKey="fk_chroncontrolranks_chroncontrolaccuracydirections" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolaccuracydirections"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="accuracydistributionid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="accuracydistributionid" foreignKey="fk_chroncontrolranks_chroncontrolaccuracydistributions" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolaccuracydistributions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="precisionrankid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="precisionrankid" foreignKey="fk_chroncontrolranks_chroncontrolprecisionranks" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolprecisionranks"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="outlier" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="7" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="chroncontrolrankid" sequenceNumberInPK="1"/>
         <index name="chroncontrolranks_pkey" unique="true">
            <column ascending="true" name="chroncontrolrankid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrols" numRows="400744" remarks="This table stores data for Chronology Controls, which are the age-depth control points used for age models. These controls may be geophysical controls, such as radiocarbon dates, but include many other kinds of age controls, such as biostratigraphic controls, archaeological cultural associations, and volcanic tephras. In the case of radiocarbon dates, a Chronology Control may not simply be the raw radiocarbon date reported by the laboratory, but perhaps a radiocarbon date corrected for an old carbon reservoir, a calibrated radiocarbon date, or an average of several radiocarbon dates from the same level. A common control for lake-sediment cores is the age of the top of the core, which may be the year the core was taken or perhaps an estimate of 0 BP if a few cm of surficial sediment were lost." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontrols_chroncontrolid'::regclass)" digits="0" id="0" name="chroncontrolid" nullable="false" remarks="An arbitrary Chronology Control identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="chroncontrolid" foreignKey="fk_chroncontrolranks_chroncontrols" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolranks"/>
            <child catalog="neotoma" column="chroncontrolid" foreignKey="fk_chroncontrolscal14c_chroncontrols" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrolscal14c"/>
            <child catalog="neotoma" column="chroncontrolid" foreignKey="evc_ccid" implied="false" onDeleteCascade="false" schema="ndb" table="eventchronology"/>
            <child catalog="neotoma" column="chroncontrolid" foreignKey="fk_geochroncontrols_chroncontrols" implied="false" onDeleteCascade="true" schema="ndb" table="geochroncontrols"/>
            <child catalog="neotoma" column="chroncontrolid" foreignKey="rc_ccid" implied="false" onDeleteCascade="true" schema="ndb" table="relativechronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="chronologyid" nullable="false" remarks="Chronology to which the ChronControl belongs. Field links to the Chronolgies table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chronologyid" foreignKey="fk_chroncontrols_chronologies" implied="false" onDeleteCascade="true" schema="ndb" table="chronologies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="chroncontroltypeid" nullable="true" remarks="The type of Chronology Control. Field links to the ChronControlTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontroltypeid" foreignKey="fk_chroncontrols_chroncontroltypes" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontroltypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="depth" nullable="true" remarks="Depth of the Chronology Control in cm." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="thickness" nullable="true" remarks="Thickness of the Chronology Control in cm." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="age" nullable="true" remarks="Age of the Chronology Control." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="agelimityounger" nullable="true" remarks="The younger age limit of a Chronology Control. This limit may be explicitly defined, for example the younger of the 2-sigma range limits of a calibrated radiocarbon date, or it may be more loosely defined, for example the younger limit on the range of dates for a biostratigraphic horizon." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="agelimitolder" nullable="true" remarks="The older age limit of a Chronology Control." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="notes" nullable="true" remarks="Free form notes or comments about the Chronology Control." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="9" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="analysisunitid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_chroncontrols_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="agetypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="agetypeid" foreignKey="fk_chroncontrols_agetypes" implied="false" onDeleteCascade="false" schema="ndb" table="agetypes"/>
         </column>
         <primaryKey column="chroncontrolid" sequenceNumberInPK="1"/>
         <index name="chroncontrols_pkey" unique="true">
            <column ascending="true" name="chroncontrolid"/>
         </index>
         <index name="ccrchronage_idx" unique="false">
            <column ascending="true" name="age"/>
         </index>
         <index name="ccroldage_idx" unique="false">
            <column ascending="true" name="agelimitolder"/>
         </index>
         <index name="ccryoungage_idx" unique="false">
            <column ascending="true" name="agelimityounger"/>
         </index>
         <index name="chroncontrols_chronologyid_idx" unique="false">
            <column ascending="true" name="chronologyid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontrolscal14c" numRows="7195" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="chroncontrolid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontrolid" foreignKey="fk_chroncontrolscal14c_chroncontrols" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calibrationcurveid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="calibrationcurveid" foreignKey="fk_chroncontrolscal14c_calibrationcurves" implied="false" onDeleteCascade="true" schema="ndb" table="calibrationcurves"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="calibrationprogramid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="calibrationprogramid" foreignKey="fk_chroncontrolscal14c_calibrationprograms" implied="false" onDeleteCascade="true" schema="ndb" table="calibrationprograms"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="chroncontrolid" sequenceNumberInPK="1"/>
         <index name="chroncontrolscal14c_pkey" unique="true">
            <column ascending="true" name="chroncontrolid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chroncontroltypes" numRows="106" remarks="Lookup table of Chronology Control Types. This table is referenced by the ChronControls table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chroncontroltypes_chroncontroltypeid'::regclass)" digits="0" id="0" name="chroncontroltypeid" nullable="false" remarks="An arbitrary Chronology Control Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="chroncontroltypeid" foreignKey="fk_chroncontrols_chroncontroltypes" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
            <child catalog="neotoma" column="higherchroncontroltypeid" foreignKey="fk_higherchroncontroltypeid" implied="false" onDeleteCascade="false" schema="ndb" table="chroncontroltypes"/>
            <child catalog="neotoma" column="chroncontroltypeid" foreignKey="evt_cct" implied="false" onDeleteCascade="false" schema="ndb" table="eventtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="chroncontroltype" nullable="true" remarks="The Chronology Control Type. Chronology Controls include such geophysical controls as radiocarbon dates, calibrated radiocarbon dates, averages of several radiocarbon dates, potassium-argon dates, and thermoluminescence dates, as well as biostratigraphic controls, sediment stratigraphic controls, volcanic tephras, archaeological cultural associations, and any other types of age controls." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="higherchroncontroltypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontroltypeid" foreignKey="fk_higherchroncontroltypeid" implied="false" onDeleteCascade="false" schema="ndb" table="chroncontroltypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="chroncontroltypeid" sequenceNumberInPK="1"/>
         <index name="chroncontroltypes_pkey" unique="true">
            <column ascending="true" name="chroncontroltypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="chronologies" numRows="43277" remarks="This table stores Chronology data. A Chronology refers to an explicit chronology assigned to a Collection Unit. A Chronology has Chronology Controls, the actual age-depth control points, which are stored in the ChronControls table. A Chronology is also based on an Age Model, which may be a numerical method that fits a curve to a set of age-depth control points or may simply be individually dated Analysis Units.&#10;A Collection Unit may have more than one Chronology, for example one in radiocarbon years and another in calibrated radiocarbon years. There may be a Chronology developed by the original author and another developed by a later research project. Chronologies may be stored for archival reasons, even though they are now believed to have problems, if they were used for an important research project. One Chronology per Age Type may be designated the default Chronology, which is the Chronology currently preferred by the database stewards.&#10;Based upon the Chronology, which includes the Age Model and the Chron Controls, ages are assigned to individual samples, which are stored in the SampleAges table.&#10;A younger and older age bounds are assigned to the Chronology. Within these bounds the Chronology is regarded as reliable. Ages may be assigned to samples beyond the reliable age bounds, but these are not considered reliable" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_chronologies_chronologyid'::regclass)" digits="0" id="0" name="chronologyid" nullable="false" remarks="An arbitrary Chronology identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="chronologyid" foreignKey="fk_accumulationrates_chronologies" implied="false" onDeleteCascade="false" schema="ndb" table="accumulationrates"/>
            <child catalog="neotoma" column="chronologyid" foreignKey="fk_chroncontrols_chronologies" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
            <child catalog="neotoma" column="chronologyid" foreignKey="hiatuschronology_chronologyid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="hiatuschronology"/>
            <child catalog="neotoma" column="chronologyid" foreignKey="fk_sampleages_chronologies" implied="false" onDeleteCascade="true" schema="ndb" table="sampleages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="false" remarks="Collection Unit to which the Chronology applies. Field links to the CollectionUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="fk_chronologies_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="agetypeid" nullable="false" remarks="Age type or units. Field links to the AgeTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="agetypeid" foreignKey="fk_chronologies_agetypes" implied="false" onDeleteCascade="true" schema="ndb" table="agetypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="contactid" nullable="true" remarks="Person who developed the Age Model. Field links to the Contacts table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_chronologies_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="isdefault" nullable="false" remarks="Indicates whether the Chronology is a default chronology or not. Default status is determined by a Neotoma data steward. Collection Units may have more than one default Chronology, but may have only one default Chronology per Age Type. Thus, there may be a default radiocarbon year Chronology and a default calibrated radiocarbon year Chronology, but only one of each. Default Chronologies may be used by the Neotoma web site, or other web sites, for displaying default diagrams or time series of data. Default Chronologies may also be of considerable use for actual research purposes; however, users may of course choose to develop their own chronologies." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="chronologyname" nullable="true" remarks="Optional name for the Chronology. Some examples are:&#10;COHMAP chron 1 A Chronology assigned by the COHMAP project.&#10;COHMAP chron 2 An alternative Chronology assigned by the COHMAP project&#10;NAPD 1 A Chronology assigned by the North American Pollen Database.&#10;Gajewski 1995 A Chronology assigned by Gajewski (1995)." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="dateprepared" nullable="true" remarks="Date that the Chronology was prepared." size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="agemodel" nullable="true" remarks="The age model used for the Chronology. Some examples are: linear interpolation, 3rd order polynomial, and individually dated analysis units." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="ageboundyounger" nullable="true" remarks="The younger reliable age bound for the Chronology. Younger ages may be assigned to samples, but are not regarded as reliable. If the entire Chronology is considered reliable, AgeBoundYounger is assigned the youngest sample age rounded down to the nearest 10. Thus, for 72 BP, AgeBoundYounger = 70 BP; for -45 BP, AgeBoundYounger = -50 BP." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="ageboundolder" nullable="true" remarks="The older reliable age bound for the Chronology. Ages older than AgeOlderBound may be assigned to samples, but are not regarded as reliable. This situation is particularly true for ages extrapolated beyond the oldest Chron Control. . If the entire Chronology is considered reliable, AgeBoundOlder is assigned the oldest sample age rounded up to the nearest 10. Thus, for 12564 BP, AgeBoundOlder is 12570." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="notes" nullable="true" remarks="Free form notes or comments about the Chronology." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="11" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="chronologyid" sequenceNumberInPK="1"/>
         <index name="chronologies_pkey" unique="true">
            <column ascending="true" name="chronologyid"/>
         </index>
         <index name="chroldage_idx" unique="false">
            <column ascending="true" name="ageboundolder"/>
         </index>
         <index name="chryoungage_idx" unique="false">
            <column ascending="true" name="ageboundyounger"/>
         </index>
         <index name="idx_chronologies_default" unique="false">
            <column ascending="true" name="chronologyid"/>
         </index>
         <index name="oldage_idx" unique="false">
            <column ascending="true" name="ageboundolder"/>
         </index>
         <index name="youngage_idx" unique="false">
            <column ascending="true" name="ageboundyounger"/>
         </index>
      </table>
      <table catalog="neotoma" name="collectiontypes" numRows="11" remarks="This table is a lookup table for types of Collection Units, or Collection Types. Table is referenced by the CollectionUnits table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_collectiontypes_colltypeid'::regclass)" digits="0" id="0" name="colltypeid" nullable="false" remarks="An arbitrary Collection Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="colltypeid" foreignKey="fk_collectionunits_collectiontypes" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="colltype" nullable="true" remarks="The Collection Type. Types include cores, sections, excavations, and animal middens. Collection Units may be modern collections, surface float, or isolated specimens. Composite Collections Units include different kinds of Analysis Units, for example a modern surface sample for ostracodes and an associated water sample." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="colltypeid" sequenceNumberInPK="1"/>
         <index name="collectiontypes_pkey" unique="true">
            <column ascending="true" name="colltypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="collectionunits" numRows="44136" remarks="This table stores data for Collection Units." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_collectionunits_collectionunitid'::regclass)" digits="0" id="0" name="collectionunitid" nullable="false" remarks="An arbitrary Collection Unit identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="collectionunitid" foreignKey="fk_analysisunits_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
            <child catalog="neotoma" column="collectionunitid" foreignKey="fk_chronologies_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="chronologies"/>
            <child catalog="neotoma" column="collectionunitid" foreignKey="fk_collectors_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="collectors"/>
            <child catalog="neotoma" column="collectionunitid" foreignKey="fk_datasets_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
            <child catalog="neotoma" column="collectionunitid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dslinks"/>
            <child catalog="neotoma" column="collectionunitid" foreignKey="fk_lithology_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="lithology"/>
            <child catalog="neotoma" column="collectionunitid" foreignKey="speleothemcollectionunits_collectionunitid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothemcollectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="handle" nullable="false" remarks="Code name for the Collection Unit. This code may be up to 10 characters, but an effort is made to keep these to 8 characters or less. Data are frequently distributed by Collection Unit, and the Handle is used for file names." size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="siteid" nullable="false" remarks="Site where CollectionUnit was located. Field links to Sites table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="fk_collectionunits_sites" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="colltypeid" nullable="true" remarks="Type of Collection Unit. Field links to the CollectionTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="colltypeid" foreignKey="fk_collectionunits_collectiontypes" implied="false" onDeleteCascade="true" schema="ndb" table="collectiontypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="depenvtid" nullable="true" remarks="Depositional environment of the CollectionUnit. Normally, this key refers to the modern environment. For example, the site may be located on a colluvial slope, in which case the Depositional Environment may be Colluvium or Colluvial Fan. However, an excavation may extend into alluvial sediments, which represent a different depositional environment. These are accounted for by the Facies of the AnalysisUnit. Field links to the DepEnvtTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="depenvtid" foreignKey="fk_collectionunits_depenvttypes" implied="false" onDeleteCascade="true" schema="ndb" table="depenvttypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="collunitname" nullable="true" remarks="Name of the Collection Unit. Examples: Core BPT82A, Structure 9, P4A Test 57. If faunal data are reported from a site or locality without explicit Collection Units, then data are assigned to a single Collection Unit with the name «Locality»." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="colldate" nullable="true" remarks="Date Collection Unit was collected." size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="colldevice" nullable="true" remarks="Device used for obtain Collection Unit. This field applies primarily to cores, for example «Wright square-rod piston corer (5 cm)»." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="gpslatitude" nullable="true" remarks="Precise latitude of the Collection Unit, typically taken with a GPS, although may be precisely measured from a map." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="9" name="gpslongitude" nullable="true" remarks="Precise longitude of the Collection Unit, typically taken with a GPS, although may be precisely measured from a map." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="10" name="gpsaltitude" nullable="true" remarks="Precise altitude of the Collection Unit, typically taken with a GPS or precisely obtained from a map." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="11" name="gpserror" nullable="true" remarks="Error in the horizontal GPS coordinates, if known." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="12" name="waterdepth" nullable="true" remarks="Depth of water at the Collection Unit location. This field applies mainly to Collection Units from lakes." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="substrateid" nullable="true" remarks="Substrate or rock type on which the Collection Unit lies. Field links to the RockTypes table. This field is especially used for rodent middens." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="rocktypeid" foreignKey="fk_collectionunits_rocktypes" implied="false" onDeleteCascade="true" schema="ndb" table="rocktypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="slopeaspect" nullable="true" remarks="For Collection Units on slopes, the horizontal direction to which a slope faces measured in degrees clockwise from north. This field is especially used for rodent middens." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="slopeangle" nullable="true" remarks="For Collection Units on slopes, the angle of slope from horizontal. field is especially used for rodent middens." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="location" nullable="true" remarks="Short description of the location of the Collection Unit within the site." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="notes" nullable="true" remarks="Free form notes or comments about the Collection Unit." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="18" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="collectionunitid" sequenceNumberInPK="1"/>
         <index name="collectionunits_pkey" unique="true">
            <column ascending="true" name="collectionunitid"/>
         </index>
         <index name="ix_collectionunitid_collectionunits" unique="false">
            <column ascending="true" name="collectionunitid"/>
         </index>
         <index name="ix_depenvtid_collectionunits" unique="false">
            <column ascending="true" name="depenvtid"/>
         </index>
         <index name="ix_siteid_collectionunits" unique="false">
            <column ascending="true" name="siteid"/>
         </index>
      </table>
      <table catalog="neotoma" name="collectors" numRows="58820" remarks="The Collectors table lists the people who collected Collection Units." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_collectors_collectorid'::regclass)" digits="0" id="0" name="collectorid" nullable="false" remarks="An arbitrary Collector identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="false" remarks="CollectionUnit collected. Field links to CollectionUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="fk_collectors_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactid" nullable="false" remarks="Person who collected the CollectionUnit. Multiple individuals are listed in separate records. Field links to the Contacts table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_collectors_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="collectororder" nullable="true" remarks="Order in which Collectors should be listed." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="collectorid" sequenceNumberInPK="1"/>
         <index name="collectors_pkey" unique="true">
            <column ascending="true" name="collectorid"/>
         </index>
      </table>
      <table catalog="neotoma" name="constituentdatabases" numRows="41" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_constituentdatabases_databaseid'::regclass)" digits="0" id="0" name="databaseid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="databaseid" foreignKey="fk_datasetdatabases_constituentdatabases" implied="false" onDeleteCascade="true" schema="ndb" table="datasetdatabases"/>
            <child catalog="neotoma" column="databaseid" foreignKey="fk_datasetsubmissions_constituentdatabases" implied="false" onDeleteCascade="true" schema="ndb" table="datasetsubmissions"/>
            <child catalog="neotoma" column="databaseid" foreignKey="fk_stewarddatabases_constituentdatabases" implied="false" onDeleteCascade="true" schema="ti" table="stewarddatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="databasename" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_constituentdatabases_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="url" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="databaseid" sequenceNumberInPK="1"/>
         <index name="constituentdatabases_pkey" unique="true">
            <column ascending="true" name="databaseid"/>
         </index>
      </table>
      <table catalog="neotoma" name="contactreferences" numRows="662" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="contactid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="contactreferences_contactid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="exdatabaseid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="extdatabaseid" foreignKey="contactreferences_exdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externaldatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="identifier" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="contacts" numRows="14286" remarks="This table lists persons and organizations referenced by the Chronologies, Collectors, DatasetPIs, DatasetSubmissions, Projects, PublicationAuthors, SampleAnalysts, and SiteImages tables." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_contacts_contactid'::regclass)" digits="0" id="0" name="contactid" nullable="false" remarks="An arbitrary Contact identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="contactid" foreignKey="fk_chronologies_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="chronologies"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_collectors_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="collectors"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_constituentdatabases_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="constituentdatabases"/>
            <child catalog="neotoma" column="contactid" foreignKey="contactreferences_contactid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="contactreferences"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_dataprocessors_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="dataprocessors"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_datasetpis_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="datasetpis"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_datasetsubmissions_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="datasetsubmissions"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_datasettaxonnotes_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="datasettaxonnotes"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_datataxonnotes_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="datataxonnotes"/>
            <child catalog="neotoma" column="contactid" foreignKey="externalcontacts_contactid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externalcontacts"/>
            <child catalog="neotoma" column="analystid" foreignKey="fk_isometadata_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="isometadata"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_publicationauthors_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="publicationauthors"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_sampleanalysts_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="sampleanalysts"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_siteimages_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="siteimages"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_synonymy_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="synonymy"/>
            <child catalog="neotoma" column="validatorid" foreignKey="fk_validatorid" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_stewards_contacts" implied="false" onDeleteCascade="false" schema="ti" table="stewards"/>
            <child catalog="neotoma" column="contactid" foreignKey="fk_stewardupdates_contacts" implied="false" onDeleteCascade="false" schema="ti" table="stewardupdates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="aliasid" nullable="true" remarks="The ContactID of a person’s current name. If the AliasID is different from the ContactID, the ContactID refers to the person’s former name. For example, if J. L. Bouvier became J. B. Kennedy, the ContactID for J. B. Kennedy is the AliasID for J. L. Bouvier." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactname" nullable="false" remarks="Full name of the person, last name first (e.g. «Simpson, George Gaylord») or name of organization or project (e.g. «Great Plains Flora Association»)." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="contactstatusid" nullable="true" remarks="Current status of the person, organization, or project. Field links to the ContactStatuses lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactstatusid" foreignKey="fk_contacts_contactstatuses" implied="false" onDeleteCascade="false" schema="ndb" table="contactstatuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="familyname" nullable="true" remarks="Family or surname name of a person." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="leadinginitials" nullable="true" remarks="Leading initials for given or forenames without spaces (e.g. «G.G.»)." size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="givennames" nullable="true" remarks="Given or forenames of a person (e.g. «George Gaylord»). Initials with spaces are used if full given names are not known (e.g. «G. G»)." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="suffix" nullable="true" remarks="Suffix of a person’s name (e.g. «Jr.», «III»)." size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="title" nullable="true" remarks="A person’s title (e.g. «Dr.», «Prof.», «Prof. Dr»)." size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="phone" nullable="true" remarks="Telephone number." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="fax" nullable="true" remarks="Fax number." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="email" nullable="true" remarks="Email address." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="url" nullable="true" remarks="Universal Resource Locator, an Internet World Wide Web address." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="address" nullable="true" remarks="Full mailing address." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="notes" nullable="true" remarks="Free form notes or comments about the person, organization, or project." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="15" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="contactid" sequenceNumberInPK="1"/>
         <index name="contacts_pkey" unique="true">
            <column ascending="true" name="contactid"/>
         </index>
         <index name="familynames_idx" unique="false">
            <column ascending="true" name="familyname"/>
         </index>
      </table>
      <table catalog="neotoma" name="contactstatuses" numRows="7" remarks="Lookup table of Contact Statuses. Table is referenced by the Contacts table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_contactstatuses_contactstatusid'::regclass)" digits="0" id="0" name="contactstatusid" nullable="false" remarks="An arbitrary Contact Status identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="contactstatusid" foreignKey="fk_contacts_contactstatuses" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contactstatus" nullable="true" remarks="Status of person, organization, or project." size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="statusdescription" nullable="true" remarks="Description of the status." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="contactstatusid" sequenceNumberInPK="1"/>
         <index name="contactstatuses_pkey" unique="true">
            <column ascending="true" name="contactstatusid"/>
         </index>
      </table>
      <table catalog="neotoma" name="contextsdatasettypes" numRows="175" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasettypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasettypeid" foreignKey="fk_contextsdatasettypes_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variablecontextid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variablecontextid" foreignKey="fk_contextsdatasettypes_variablecontexts" implied="false" onDeleteCascade="true" schema="ndb" table="variablecontexts"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasettypeid" sequenceNumberInPK="1"/>
         <primaryKey column="variablecontextid" sequenceNumberInPK="2"/>
         <index name="contextsdatasettypes_pkey" unique="true">
            <column ascending="true" name="datasettypeid"/>
            <column ascending="true" name="variablecontextid"/>
         </index>
      </table>
      <table catalog="neotoma" name="data" numRows="11805526" remarks="The primary data table in the database. Each occurrence of a Variable in a sample comprises a record in the Data table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_data_dataid'::regclass)" digits="0" id="0" name="dataid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="dataid" foreignKey="fk_datataxonnotes_data" implied="false" onDeleteCascade="true" schema="ndb" table="datataxonnotes"/>
            <child catalog="neotoma" column="dataid" foreignKey="datauncertainties_dataid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="datauncertainties"/>
            <child catalog="neotoma" column="dataid" foreignKey="fk_isometadata_data" implied="false" onDeleteCascade="true" schema="ndb" table="isometadata"/>
            <child catalog="neotoma" column="dataid" foreignKey="fk_isosamplepretreatments_data" implied="false" onDeleteCascade="true" schema="ndb" table="isosamplepretreatments"/>
            <child catalog="neotoma" column="dataid" foreignKey="fk_isospecimendata_data" implied="false" onDeleteCascade="true" schema="ndb" table="isospecimendata"/>
            <child catalog="neotoma" column="dataid" foreignKey="fk_isostratdata_data" implied="false" onDeleteCascade="true" schema="ndb" table="isostratdata"/>
            <child catalog="neotoma" column="dataid" foreignKey="fk_specimens_data" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
            <child catalog="neotoma" column="dataid" foreignKey="fk_summarydatataphonomy_data" implied="false" onDeleteCascade="true" schema="ndb" table="summarydatataphonomy"/>
            <child catalog="neotoma" column="dataid" foreignKey="uraniumseriesdata_dataid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="uraniumseriesdata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sampleid" nullable="false" remarks="Sample identification number. Field links to Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="fk_data_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="variableid" nullable="false" remarks="Variable identification number. Field links to Variables table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="fk_data_variables" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="value" nullable="true" remarks="The value of the variable." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="dataid" sequenceNumberInPK="1"/>
         <index name="data_pkey" unique="true">
            <column ascending="true" name="dataid"/>
         </index>
         <index name="data_sample_idx" unique="false">
            <column ascending="true" name="sampleid"/>
         </index>
         <index name="data_variable_idx" unique="false">
            <column ascending="true" name="variableid"/>
         </index>
      </table>
      <table catalog="neotoma" name="dataprocessors" numRows="71603" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_dataprocessors_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contactid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_dataprocessors_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="contactid" sequenceNumberInPK="2"/>
         <index name="dataprocessors_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="contactid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetdatabases" numRows="57846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_datasetdatabases_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="databaseid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="databaseid" foreignKey="fk_datasetdatabases_constituentdatabases" implied="false" onDeleteCascade="true" schema="ndb" table="constituentdatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="databaseid" sequenceNumberInPK="2"/>
         <index name="datasetdatabases_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="databaseid"/>
         </index>
         <index name="datasettimes" unique="false">
            <column ascending="true" name="recdatecreated"/>
         </index>
         <index name="ix_datasetid_datasetdatabases" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="ix_projectid_datasetdatabases" unique="false">
            <column ascending="true" name="databaseid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetdoi" numRows="59503" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="doi" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="4" name="published" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="doi" sequenceNumberInPK="2"/>
         <index name="datasetdoi_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="doi"/>
         </index>
         <index name="idx_datasetdoi_datasetid" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="idx_datasetdoi_datasetid_doi" unique="false">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="doi"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetpis" numRows="146912" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="Dataset identification number. Field links to Dataset table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_datasetpis_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contactid" nullable="false" remarks="Contact identification number. Field links to Contacts table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_datasetpis_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="piorder" nullable="true" remarks="Order in which PIs are listed." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <index name="idx_datasetpis_datasetid" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="idx_datasetpis_datasetid_contactid" unique="false">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="contactid"/>
         </index>
         <index name="ix_contactid_datasetpis" unique="false">
            <column ascending="true" name="contactid"/>
         </index>
         <index name="ix_datasetid_datasetpis" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetpublications" numRows="73624" remarks="This table lists the publications for datasets." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="Dataset identification number. Field links to Dataset table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_datasetpublications_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="Publication identification number. Field links to Publications table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_datasetpublications_publications" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="primarypub" nullable="true" remarks="Is «True» if the publication is the primary publication for the dataset." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="publicationid" sequenceNumberInPK="2"/>
         <index name="datasetpublications_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="publicationid"/>
         </index>
         <index name="ix_datasetid_datasetpublications" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="ix_publicationid_datasetpublications" unique="false">
            <column ascending="true" name="publicationid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasets" numRows="59553" remarks="This table stores the data for Datasets. A Dataset is the set of samples for a particular data type from a Collection Unit. A Collection Unit may have multiple Datasets for different data types, for example one dataset for pollen and another for plant macrofossils. Every Sample is assigned to a Dataset, and every Dataset is assigned to a Collection Unit. Samples from different Collection Units cannot be assigned to the same Dataset (although they may be assigned to Aggregate Datasets)." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_datasets_datasetid'::regclass)" digits="0" id="0" name="datasetid" nullable="false" remarks="An arbitrary Dataset identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="datasetid" foreignKey="fk_dataprocessors_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="dataprocessors"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_datasetdatabases_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasetdatabases"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_datasetpis_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasetpis"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_datasetpublications_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasetpublications"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_datasetsubmissions_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasetsubmissions"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_datasettaxonnotes_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasettaxonnotes"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_datasetvariables_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasetvariables"/>
            <child catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dsageranges"/>
            <child catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dsdatasample"/>
            <child catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dslinks"/>
            <child catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dssampdata"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_isoinstrumentation_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="isoinstrumentation"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_isosrmetadata_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="isosrmetadata"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_isostandards_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="isostandards"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_repositoryspecimens_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="repositoryspecimens"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_samples_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
            <child catalog="neotoma" column="datasetid" foreignKey="fk_synonymy_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="synonymy"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="false" remarks="Collection Unit identification number. Field links to the CollectionUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="fk_datasets_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="datasettypeid" nullable="false" remarks="Dataset Type identification number. Field links to the DatasetTypes lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasettypeid" foreignKey="fk_datasets_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="datasetname" nullable="true" remarks="Optional name for the Dataset." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="notes" nullable="true" remarks="Free form notes or comments about the Dataset." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="embargoid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="embargoid" foreignKey="fk_datasets_embargo" implied="false" onDeleteCascade="true" schema="ndb" table="embargo"/>
         </column>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <index name="datasets_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="idx_datasets_collectionunit" unique="false">
            <column ascending="true" name="collectionunitid"/>
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="datasettypeid"/>
         </index>
         <index name="ix_collectionunitid_datasets" unique="false">
            <column ascending="true" name="collectionunitid"/>
         </index>
         <index name="ix_datasettypeid_datasets" unique="false">
            <column ascending="true" name="datasettypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetsubmissions" numRows="68128" remarks="Submissions to the database are of Datasets. Submissions may be original submissions, resubmissions, compilations from other databases, or recompilations. See the description of the DatasetSubmissionTypes table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_datasetsubmissions_submissionid'::regclass)" digits="0" id="0" name="submissionid" nullable="false" remarks="An arbitrary submission identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="datasetid" nullable="false" remarks="Dataset identification number. Field links to the Datasets table. Datasets may occur multiple times in this table (e.g. once for the original compilation into a different database and a second time for the recompilation into Neotoma)." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_datasetsubmissions_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="databaseid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="databaseid" foreignKey="fk_datasetsubmissions_constituentdatabases" implied="false" onDeleteCascade="true" schema="ndb" table="constituentdatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="contactid" nullable="true" remarks="Contact identification number. Field links to the Contacts table. The Contact is the person who submitted, resubmitted, compiled, or recompiled the data. This person is not necessarily the Dataset PI; it is the person who submitted the data or compiled the data from the literature." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_datasetsubmissions_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="submissiontypeid" nullable="true" remarks="Submission Type identification number. Field links to the DatasetSubmissionsType table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="submissiontypeid" foreignKey="fk_datasetsubmissions_datasetsubmissiontypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasetsubmissiontypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="submissiondate" nullable="true" remarks="Date of the submission, resubmission, compilation, or recompilation." size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="notes" nullable="true" remarks="Free form notes or comments about the submission." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="7" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="submissionid" sequenceNumberInPK="1"/>
         <index name="datasetsubmissions_pkey" unique="true">
            <column ascending="true" name="submissionid"/>
         </index>
         <index name="ix_datasetid_datasetsubmissions" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="ix_projectid_datasetsubmissions" unique="false">
            <column ascending="true" name="databaseid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetsubmissiontypes" numRows="9" remarks="Lookup table of Dataset Submission Types. Table is referenced by the DatasetSubmissions table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_datasetsubmissiontypes_submissiontypeid'::regclass)" digits="0" id="0" name="submissiontypeid" nullable="false" remarks="An arbitrary Submission Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="submissiontypeid" foreignKey="fk_datasetsubmissions_datasetsubmissiontypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasetsubmissions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="submissiontype" nullable="false" remarks="Type of submission. The database has the following types:&#10;Original submission from data contributor&#10;Resubmission or revision from data contributor&#10;Compilation into a flat file database&#10;Compilation into a another relational database&#10;Recompilation or revisions to a another relational database&#10;Compilation into Neotoma from another database&#10;Recompilation into Neotoma from another database&#10;Compilation into Neotoma from primary source&#10;Recompilation into or revisions to Neotoma" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="submissiontypeid" sequenceNumberInPK="1"/>
         <index name="datasetsubmissiontypes_pkey" unique="true">
            <column ascending="true" name="submissiontypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasettaxagrouptypes" numRows="207" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasettypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasettypeid" foreignKey="fk_datasettaxagrouptypes_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxagroupid" nullable="false" remarks="" size="3" type="varchar" typeCode="12">
            <parent catalog="neotoma" column="taxagroupid" foreignKey="fk_datasettaxagrouptypes_taxagrouptypes" implied="false" onDeleteCascade="true" schema="ndb" table="taxagrouptypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasettypeid" sequenceNumberInPK="1"/>
         <primaryKey column="taxagroupid" sequenceNumberInPK="2"/>
         <index name="datasettaxagrouptypes_pkey" unique="true">
            <column ascending="true" name="datasettypeid"/>
            <column ascending="true" name="taxagroupid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasettaxonnotes" numRows="2100" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_datasettaxonnotes_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_datasettaxonnotes_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_datasettaxonnotes_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="notes" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="taxonid" sequenceNumberInPK="2"/>
         <index name="datasettaxonnotes_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="taxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasettypes" numRows="43" remarks="Lookup table for Dataset Types. Table is referenced by the Datasets table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_datasettypes_datasettypeid'::regclass)" digits="0" id="0" name="datasettypeid" nullable="false" remarks="An arbitrary Dataset Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="datasettypeid" foreignKey="fk_contextsdatasettypes_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="contextsdatasettypes"/>
            <child catalog="neotoma" column="datasettypeid" foreignKey="fk_datasets_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
            <child catalog="neotoma" column="datasettypeid" foreignKey="fk_datasettaxagrouptypes_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettaxagrouptypes"/>
            <child catalog="neotoma" column="datasettypeid" foreignKey="fk_datasettypeid" implied="false" onDeleteCascade="false" schema="ndb" table="elementdatasettaxagroups"/>
            <child catalog="neotoma" column="datasettypeid" foreignKey="fk_taphonomicsystemsdatasettypes_taphonomicsystemsdatasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomicsystemsdatasettypes"/>
            <child catalog="neotoma" column="datasettypeid" foreignKey="fk_unitsdatasettypes_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="unitsdatasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="datasettype" nullable="false" remarks="The Dataset type, including the following:&#10;geochronologic&#10;loss-on-ignition&#10;pollen&#10;plant macrofossils&#10;vertebrate fauna&#10;mollusks" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasettypeid" sequenceNumberInPK="1"/>
         <index name="datasettypes_pkey" unique="true">
            <column ascending="true" name="datasettypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datasetvariables" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_datasetvariables_datasetvariableid'::regclass)" digits="0" id="0" name="datasetvariableid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_datasetvariables_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="variableid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="fk_datasetvariables_variables" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetvariableid" sequenceNumberInPK="1"/>
         <index name="datasetvariables_pkey" unique="true">
            <column ascending="true" name="datasetvariableid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datataxonnotes" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_datataxonnotes_datataxonnotesid'::regclass)" digits="0" id="0" name="datataxonnotesid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_datataxonnotes_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_datataxonnotes_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="notes" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datataxonnotesid" sequenceNumberInPK="1"/>
         <index name="datataxonnotes_pkey" unique="true">
            <column ascending="true" name="datataxonnotesid"/>
         </index>
      </table>
      <table catalog="neotoma" name="datauncertainties" numRows="765642" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="dataid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="datauncertainties_dataid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="1" name="uncertaintyvalue" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="uncertaintyunitid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="datauncertainties_uncertaintyunitid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="variableunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="uncertaintybasisid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="uncertaintybasisid" foreignKey="datauncertainties_uncertaintybasisid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="uncertaintybases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="uniqueentryvalue" unique="true">
            <column ascending="true" name="dataid"/>
            <column ascending="true" name="uncertaintyunitid"/>
            <column ascending="true" name="uncertaintybasisid"/>
         </index>
      </table>
      <table catalog="neotoma" name="decayconstants" numRows="6" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.decayconstants_decayconstantid_seq'::regclass)" digits="0" id="0" name="decayconstantid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="decayconstantid" foreignKey="uraniumseries_decayconstantid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="uraniumseries"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="decayconstant" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="publicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="decayconstants_publicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="decayconstantid" sequenceNumberInPK="1"/>
         <index name="decayconstants_pkey" unique="true">
            <column ascending="true" name="decayconstantid"/>
         </index>
      </table>
      <table catalog="neotoma" name="depagents" numRows="5187" remarks="Deposition Agents for Analysis Units. Individual Analysis Units may be listed multiple times with different Deposition Agents." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="analysisunitid" nullable="false" remarks="Analysis Unit identification number. Field links to AnalysisUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_depagents_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="depagentid" nullable="false" remarks="Deposition Agent identification number. Field links to DepAgentTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="depagentid" foreignKey="fk_depagents_depagenttypes" implied="false" onDeleteCascade="true" schema="ndb" table="depagenttypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="analysisunitid" sequenceNumberInPK="1"/>
         <primaryKey column="depagentid" sequenceNumberInPK="2"/>
         <index name="depagents_pkey" unique="true">
            <column ascending="true" name="analysisunitid"/>
            <column ascending="true" name="depagentid"/>
         </index>
         <index name="ix_analysisunitid_depagents" unique="false">
            <column ascending="true" name="analysisunitid"/>
         </index>
         <index name="ix_depagentid_depagents" unique="false">
            <column ascending="true" name="depagentid"/>
         </index>
      </table>
      <table catalog="neotoma" name="depagenttypes" numRows="19" remarks="Lookup table of Depositional Agents. Table is referenced by the DepAgents table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_depagenttypes_depagentid'::regclass)" digits="0" id="0" name="depagentid" nullable="false" remarks="An arbitrary Depositional Agent identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="depagentid" foreignKey="fk_depagents_depagenttypes" implied="false" onDeleteCascade="true" schema="ndb" table="depagents"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="depagent" nullable="true" remarks="Depositional Agent." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="depagentid" sequenceNumberInPK="1"/>
         <index name="depagenttypes_pkey" unique="true">
            <column ascending="true" name="depagentid"/>
         </index>
      </table>
      <table catalog="neotoma" name="depenvttypes" numRows="228" remarks="Lookup table of Depositional Environment Types. Table is referenced by the CollectionUnits table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_depenvttypes_depenvtid'::regclass)" digits="0" id="0" name="depenvtid" nullable="false" remarks="An arbitrary Depositional Environment Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="depenvtid" foreignKey="fk_collectionunits_depenvttypes" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
            <child catalog="neotoma" column="depenvthigherid" foreignKey="fk_depenvthigherid" implied="false" onDeleteCascade="false" schema="ndb" table="depenvttypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="depenvt" nullable="false" remarks="Depositional Environment." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="depenvthigherid" nullable="false" remarks="The Depositional Environment Types are hierarchical. DepEnvtHigherID is the DepEnvtID of the higher ranked Depositional Environment. The following table gives some examples." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="depenvtid" foreignKey="fk_depenvthigherid" implied="false" onDeleteCascade="false" schema="ndb" table="depenvttypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="depenvtid" sequenceNumberInPK="1"/>
         <index name="depenvttypes_pkey" unique="true">
            <column ascending="true" name="depenvtid"/>
         </index>
      </table>
      <table catalog="neotoma" name="depthreferencesystem" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.depthreferencesystem_depthreferencesystemid_seq'::regclass)" digits="0" id="0" name="depthreferencesystemid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="depthreference" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="depthreferencenotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="depthreferencepublicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="depthreferencesystem_depthreferencepublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <primaryKey column="depthreferencesystemid" sequenceNumberInPK="1"/>
         <index name="depthreferencesystem_pkey" unique="true">
            <column ascending="true" name="depthreferencesystemid"/>
         </index>
      </table>
      <table catalog="neotoma" name="dsageranges" numRows="0" remarks="" schema="ndb" type="VIEW" viewSql=" SELECT ageranges.datasetid,&#10;    min(ageranges.younger) AS younger,&#10;    max(ageranges.older) AS older,&#10;    ageranges.agetypeid&#10;   FROM ( SELECT ds.datasetid,&#10;                CASE&#10;                    WHEN (ages.ageyounger IS NULL) THEN ages.age&#10;                    ELSE ages.ageyounger&#10;                END AS younger,&#10;                CASE&#10;                    WHEN (ages.ageolder IS NULL) THEN ages.age&#10;                    ELSE ages.ageolder&#10;                END AS older,&#10;            chrons.agetypeid&#10;           FROM (((ndb.samples samples&#10;             LEFT JOIN ndb.datasets ds ON ((samples.datasetid = ds.datasetid)))&#10;             LEFT JOIN ndb.sampleages ages ON ((ages.sampleid = samples.sampleid)))&#10;             LEFT JOIN ndb.chronologies chrons ON ((ages.chronologyid = chrons.chronologyid)))&#10;          WHERE (chrons.isdefault = (1)::boolean)) ageranges&#10;  GROUP BY ageranges.datasetid, ageranges.agetypeid;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="1" name="younger" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="older" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="agetypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="agetypeid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="agetypes"/>
         </column>
      </table>
      <table catalog="neotoma" name="dsdatasample" numRows="0" remarks="" schema="ndb" type="VIEW" viewSql=" SELECT ds.datasetid,&#10;    sm.sampleid,&#10;    dt.dataid,&#10;    vr.variableid&#10;   FROM (((ndb.datasets ds&#10;     JOIN ndb.samples sm ON ((ds.datasetid = sm.datasetid)))&#10;     JOIN ndb.data dt ON ((sm.sampleid = dt.sampleid)))&#10;     JOIN ndb.variables vr ON ((dt.variableid = vr.variableid)));">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sampleid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="dataid" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="variableid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="variables"/>
         </column>
      </table>
      <table catalog="neotoma" name="dslinks" numRows="0" remarks="" schema="ndb" type="VIEW" viewSql=" SELECT ds.datasetid,&#10;    ds.collectionunitid,&#10;    sts.siteid&#10;   FROM ((ndb.datasets ds&#10;     LEFT JOIN ndb.collectionunits cu ON ((ds.collectionunitid = cu.collectionunitid)))&#10;     LEFT JOIN ndb.sites sts ON ((cu.siteid = sts.siteid))); SELECT sites.siteid,&#10;    collectionunits.collectionunitid,&#10;    datasets.datasetid&#10;   FROM ((ndb.sites&#10;     JOIN ndb.collectionunits ON ((sites.siteid = collectionunits.siteid)))&#10;     JOIN ndb.datasets ON ((collectionunits.collectionunitid = datasets.collectionunitid)));">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="siteid" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
      </table>
      <table catalog="neotoma" name="dssampdata" numRows="0" remarks="" schema="ndb" type="VIEW" viewSql=" SELECT ds.datasetid,&#10;    count(DISTINCT smp.sampleid) AS samples,&#10;    count(DISTINCT dt.dataid) AS observations&#10;   FROM ((ndb.datasets ds&#10;     LEFT JOIN ndb.samples smp ON ((smp.datasetid = ds.datasetid)))&#10;     LEFT JOIN ndb.data dt ON ((dt.sampleid = smp.sampleid)))&#10;  GROUP BY ds.datasetid;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="samples" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="observations" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
      </table>
      <table catalog="neotoma" name="ecolgroups" numRows="45292" remarks="Taxa are assigned to Sets of Ecological Groups. A taxon may be assigned to more than one Set of Ecological Groups, representing different schemes for organizing taxa." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="taxonid" nullable="false" remarks="Taxon identification number. Field links to the Taxa table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_ecolgroups_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="ecolsetid" nullable="false" remarks="Ecological Set identification number. Field links to the EcolSetTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="ecolsetid" foreignKey="fk_ecolgroups_ecolsettypes" implied="false" onDeleteCascade="true" schema="ndb" table="ecolsettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ecolgroupid" nullable="false" remarks="A four-letter Ecological Group identification code. Field links to the EcolGroupTypes table." size="4" type="varchar" typeCode="12">
            <parent catalog="neotoma" column="ecolgroupid" foreignKey="fk_ecolgroups_ecolgrouptypes" implied="false" onDeleteCascade="true" schema="ndb" table="ecolgrouptypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="taxonid" sequenceNumberInPK="1"/>
         <primaryKey column="ecolsetid" sequenceNumberInPK="2"/>
         <index name="ecolgroups_pkey" unique="true">
            <column ascending="true" name="taxonid"/>
            <column ascending="true" name="ecolsetid"/>
         </index>
         <index name="ecolgroups_unique" unique="true">
            <column ascending="true" name="taxonid"/>
            <column ascending="true" name="ecolsetid"/>
            <column ascending="true" name="ecolgroupid"/>
         </index>
         <index name="ix_ecolgroupid_ecolgroups" unique="false">
            <column ascending="true" name="ecolgroupid"/>
         </index>
         <index name="ix_ecolsetid_ecolgroups" unique="false">
            <column ascending="true" name="ecolsetid"/>
         </index>
         <index name="ix_taxonid_ecolgroups" unique="false">
            <column ascending="true" name="taxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="ecolgrouptypes" numRows="193" remarks="Lookup table of Ecological Group Types. Table is referenced by the EcolGroups table." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="ecolgroupid" nullable="false" remarks="An arbitrary Ecological Group identification number." size="4" type="varchar" typeCode="12">
            <child catalog="neotoma" column="ecolgroupid" foreignKey="fk_ecolgroups_ecolgrouptypes" implied="false" onDeleteCascade="true" schema="ndb" table="ecolgroups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="ecolgroup" nullable="true" remarks="Ecological Group." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="ecolgroupid" sequenceNumberInPK="1"/>
         <index name="ecolgrouptypes_pkey" unique="true">
            <column ascending="true" name="ecolgroupid"/>
         </index>
      </table>
      <table catalog="neotoma" name="ecolsettypes" numRows="23" remarks="Lookup table of Ecological Set Types. Table is referenced by the EcolGroups table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_ecolsettypes_ecolsetid'::regclass)" digits="0" id="0" name="ecolsetid" nullable="false" remarks="An arbitrary Ecological Set identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="ecolsetid" foreignKey="fk_ecolgroups_ecolsettypes" implied="false" onDeleteCascade="true" schema="ndb" table="ecolgroups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="ecolsetname" nullable="false" remarks="Ecological Set name." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="ecolsetid" sequenceNumberInPK="1"/>
         <index name="ecolsettypes_pkey" unique="true">
            <column ascending="true" name="ecolsetid"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementdatasettaxagroups" numRows="1496" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasettypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasettypeid" foreignKey="fk_datasettypeid" implied="false" onDeleteCascade="false" schema="ndb" table="datasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxagroupid" nullable="false" remarks="" size="3" type="varchar" typeCode="12">
            <parent catalog="neotoma" column="taxagroupid" foreignKey="edt_group" implied="false" onDeleteCascade="false" schema="ndb" table="taxagrouptypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="elementtypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasettypeid" sequenceNumberInPK="1"/>
         <primaryKey column="taxagroupid" sequenceNumberInPK="2"/>
         <primaryKey column="elementtypeid" sequenceNumberInPK="3"/>
         <index name="elementdatasettaxagroups_pkey" unique="true">
            <column ascending="true" name="datasettypeid"/>
            <column ascending="true" name="taxagroupid"/>
            <column ascending="true" name="elementtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementmaturities" numRows="12" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_elementmaturities_maturityid'::regclass)" digits="0" id="0" name="maturityid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="maturityid" foreignKey="fk_elementtaxagroupmaturities_elementmaturities" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroupmaturities"/>
            <child catalog="neotoma" column="maturityid" foreignKey="fk_specimens_elementmaturities" implied="false" onDeleteCascade="false" schema="ndb" table="specimens"/>
            <child catalog="neotoma" column="maturityid" foreignKey="fk_variableelements_elementmaturities" implied="false" onDeleteCascade="true" schema="ndb" table="variableelements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="maturity" nullable="false" remarks="" size="36" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="maturityid" sequenceNumberInPK="1"/>
         <index name="elementmaturities_pkey" unique="true">
            <column ascending="true" name="maturityid"/>
         </index>
         <index name="ix_elementmaturities" unique="true">
            <column ascending="true" name="maturity"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementportions" numRows="54" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_elementportions_portionid'::regclass)" digits="0" id="0" name="portionid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="portionid" foreignKey="fk_elementtaxagroupportions_elementportions" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroupportions"/>
            <child catalog="neotoma" column="portionid" foreignKey="fk_specimens_elementportions" implied="false" onDeleteCascade="false" schema="ndb" table="specimens"/>
            <child catalog="neotoma" column="portionid" foreignKey="fk_variableelements_elementportions" implied="false" onDeleteCascade="true" schema="ndb" table="variableelements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="portion" nullable="true" remarks="" size="48" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="portionid" sequenceNumberInPK="1"/>
         <index name="elementportions_pkey" unique="true">
            <column ascending="true" name="portionid"/>
         </index>
         <index name="ix_elementportions" unique="true">
            <column ascending="true" name="portion"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementsymmetries" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_elementsymmetries_symmetryid'::regclass)" digits="0" id="0" name="symmetryid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="symmetryid" foreignKey="fk_elementtaxagroupsymmetries_elementsymmetries" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroupsymmetries"/>
            <child catalog="neotoma" column="symmetryid" foreignKey="fk_specimens_elementsymmetries" implied="false" onDeleteCascade="false" schema="ndb" table="specimens"/>
            <child catalog="neotoma" column="symmetryid" foreignKey="fk_variableelements_elementsymmetries" implied="false" onDeleteCascade="true" schema="ndb" table="variableelements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="symmetry" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="symmetryid" sequenceNumberInPK="1"/>
         <index name="elementsymmetries_pkey" unique="true">
            <column ascending="true" name="symmetryid"/>
         </index>
         <index name="ix_elementsymmetries" unique="true">
            <column ascending="true" name="symmetry"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementtaxagroupmaturities" numRows="42" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="elementtaxagroupid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtaxagroupid" foreignKey="fk_elementtaxagroupmaturities_elementtaxagroup" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="maturityid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="maturityid" foreignKey="fk_elementtaxagroupmaturities_elementmaturities" implied="false" onDeleteCascade="true" schema="ndb" table="elementmaturities"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="elementtaxagroupid" sequenceNumberInPK="1"/>
         <primaryKey column="maturityid" sequenceNumberInPK="2"/>
         <index name="elementtaxagroupmaturities_pkey" unique="true">
            <column ascending="true" name="elementtaxagroupid"/>
            <column ascending="true" name="maturityid"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementtaxagroupportions" numRows="412" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="elementtaxagroupid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtaxagroupid" foreignKey="fk_elementtaxagroupportions_elementtaxagroups" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="portionid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="portionid" foreignKey="fk_elementtaxagroupportions_elementportions" implied="false" onDeleteCascade="true" schema="ndb" table="elementportions"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="elementtaxagroupid" sequenceNumberInPK="1"/>
         <primaryKey column="portionid" sequenceNumberInPK="2"/>
         <index name="elementtaxagroupportions_pkey" unique="true">
            <column ascending="true" name="elementtaxagroupid"/>
            <column ascending="true" name="portionid"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementtaxagroups" numRows="1036" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_elementtaxagroups_elementtaxagroupid'::regclass)" digits="0" id="0" name="elementtaxagroupid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="elementtaxagroupid" foreignKey="fk_elementtaxagroupmaturities_elementtaxagroup" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroupmaturities"/>
            <child catalog="neotoma" column="elementtaxagroupid" foreignKey="fk_elementtaxagroupportions_elementtaxagroups" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroupportions"/>
            <child catalog="neotoma" column="elementtaxagroupid" foreignKey="fk_elementtaxagroupsymmetries_elementtaxagroups" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroupsymmetries"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxagroupid" nullable="false" remarks="" size="3" type="varchar" typeCode="12">
            <parent catalog="neotoma" column="taxagroupid" foreignKey="fk_elementtaxagrouptypes_taxagrouptypes" implied="false" onDeleteCascade="true" schema="ndb" table="taxagrouptypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="elementtypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtypeid" foreignKey="fk_elementtaxagrouptypes_elementtypes" implied="false" onDeleteCascade="true" schema="ndb" table="elementtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="elementtaxagroupid" sequenceNumberInPK="1"/>
         <index name="elementtaxagroups_pkey" unique="true">
            <column ascending="true" name="elementtaxagroupid"/>
         </index>
         <index name="ix_elementtaxagrouptypes" unique="true">
            <column ascending="true" name="taxagroupid"/>
            <column ascending="true" name="elementtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementtaxagroupsymmetries" numRows="446" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="elementtaxagroupid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtaxagroupid" foreignKey="fk_elementtaxagroupsymmetries_elementtaxagroups" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="symmetryid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="symmetryid" foreignKey="fk_elementtaxagroupsymmetries_elementsymmetries" implied="false" onDeleteCascade="true" schema="ndb" table="elementsymmetries"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="elementtaxagroupid" sequenceNumberInPK="1"/>
         <primaryKey column="symmetryid" sequenceNumberInPK="2"/>
         <index name="elementtaxagroupsymmetries_pkey" unique="true">
            <column ascending="true" name="elementtaxagroupid"/>
            <column ascending="true" name="symmetryid"/>
         </index>
      </table>
      <table catalog="neotoma" name="elementtypes" numRows="951" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_elementtypes_elementtypeid'::regclass)" digits="0" id="0" name="elementtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="elementtypeid" foreignKey="fk_elementtaxagrouptypes_elementtypes" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroups"/>
            <child catalog="neotoma" column="elementtypeid" foreignKey="fk_isostratdata_elementtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isostratdata"/>
            <child catalog="neotoma" column="elementtypeid" foreignKey="sd_etyid" implied="false" onDeleteCascade="false" schema="ndb" table="specimendates"/>
            <child catalog="neotoma" column="elementtypeid" foreignKey="fk_specimens_elementtypes" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
            <child catalog="neotoma" column="elementtypeid" foreignKey="fk_variableelements_elementtypes" implied="false" onDeleteCascade="false" schema="ndb" table="variableelements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="elementtype" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="elementtypeid" sequenceNumberInPK="1"/>
         <index name="elementtypes_pkey" unique="true">
            <column ascending="true" name="elementtypeid"/>
         </index>
         <index name="ix_elementtypes" unique="true">
            <column ascending="true" name="elementtype"/>
         </index>
      </table>
      <table catalog="neotoma" name="embargo" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_embargo_embargoid'::regclass)" digits="0" id="0" name="embargoid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="embargoid" foreignKey="fk_datasets_embargo" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="embargodate" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="embargopw" nullable="true" remarks="" size="20" type="varchar" typeCode="12"/>
         <primaryKey column="embargoid" sequenceNumberInPK="1"/>
         <index name="embargo_pkey" unique="true">
            <column ascending="true" name="embargoid"/>
         </index>
      </table>
      <table catalog="neotoma" name="entitycovers" numRows="846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entitycovers_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entitycoverid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entitycoverid" foreignKey="entitycovers_entitycoverid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entitycovertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="8" id="2" name="entitycoverthickness" nullable="true" remarks="" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="entitycoverunits" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="entitycovers_entitycoverunits_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="variableunits"/>
         </column>
      </table>
      <table catalog="neotoma" name="entitycovertypes" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.entitycovertypes_entitycoverid_seq'::regclass)" digits="0" id="0" name="entitycoverid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="entitycoverid" foreignKey="entitycovers_entitycoverid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entitycovers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entitycovertype" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entitycovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="entitycoverid" sequenceNumberInPK="1"/>
         <index name="entitycovertypes_pkey" unique="true">
            <column ascending="true" name="entitycoverid"/>
         </index>
      </table>
      <table catalog="neotoma" name="entitydripheight" numRows="846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entitydripheight_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="speleothemdriptypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="speleothemdriptypeid" foreignKey="entitydripheight_speleothemdriptypeid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothemdriptypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="8" id="2" name="entitydripheight" nullable="true" remarks="" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="entitydripheightunit" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="entitydripheight_entitydripheightunit_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="variableunits"/>
         </column>
      </table>
      <table catalog="neotoma" name="entitygeology" numRows="846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entitygeology_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="speleothemgeologyid" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="entitylandusecover" numRows="846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entitylandusecover_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="landusecovertypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="vegetationcovertypeid" foreignKey="entitylandusecover_landusecovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="vegetationcovertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="landusecoverpercent" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="landusecovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="entityrelationship" numRows="1025" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entityrelationship_entityid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entitystatusid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entitystatusid" foreignKey="entityrelationship_entitystatusid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothementitystatuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="referenceentityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entityrelationship_referenceentityid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="entitysamples" numRows="847" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entitysamples_entityid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organics" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="fluid_inclusions" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="mineralogy_petrology_fabric" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="clumped_isotopes" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="noble_gas_temperatures" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="c14" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="odl" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="entityid" sequenceNumberInPK="1"/>
         <index name="entitysamples_pkey" unique="true">
            <column ascending="true" name="entityid"/>
         </index>
      </table>
      <table catalog="neotoma" name="entityvegetationcover" numRows="846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="entityvegetationcover_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="vegetationcovertypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="vegetationcovertypeid" foreignKey="entityvegetationcover_vegetationcovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="vegetationcovertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="vegetationcoverpercent" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="vegetationcovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="eventchronology" numRows="280" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_eventchronology_eventchronologyid'::regclass)" digits="0" id="0" name="eventchronologyid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="analysisunitid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="evc_alu" implied="false" onDeleteCascade="false" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="eventid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="eventid" foreignKey="evc_evt" implied="false" onDeleteCascade="false" schema="ndb" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="chroncontrolid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontrolid" foreignKey="evc_ccid" implied="false" onDeleteCascade="false" schema="ndb" table="chroncontrols"/>
         </column>
         <primaryKey column="eventchronologyid" sequenceNumberInPK="1"/>
         <index name="eventchronology_pkey" unique="true">
            <column ascending="true" name="eventchronologyid"/>
         </index>
         <index name="ix_analysisunitid_eventchronology" unique="false">
            <column ascending="true" name="analysisunitid"/>
         </index>
         <index name="ix_eventid_eventchronology" unique="false">
            <column ascending="true" name="eventid"/>
         </index>
         <index name="uniqueeventset" unique="true">
            <column ascending="true" name="analysisunitid"/>
            <column ascending="true" name="eventid"/>
            <column ascending="true" name="chroncontrolid"/>
         </index>
      </table>
      <table catalog="neotoma" name="eventpublications" numRows="378" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="eventid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="eventid" foreignKey="fk_eventpublications_events" implied="false" onDeleteCascade="true" schema="ndb" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_eventpublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="eventid" sequenceNumberInPK="1"/>
         <primaryKey column="publicationid" sequenceNumberInPK="2"/>
         <index name="eventpublications_pkey" unique="true">
            <column ascending="true" name="eventid"/>
            <column ascending="true" name="publicationid"/>
         </index>
      </table>
      <table catalog="neotoma" name="events" numRows="371" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_events_eventid'::regclass)" digits="0" id="0" name="eventid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="eventid" foreignKey="evc_evt" implied="false" onDeleteCascade="false" schema="ndb" table="eventchronology"/>
            <child catalog="neotoma" column="eventid" foreignKey="fk_eventpublications_events" implied="false" onDeleteCascade="true" schema="ndb" table="eventpublications"/>
            <child catalog="neotoma" column="eventid" foreignKey="fk_tephras_events" implied="false" onDeleteCascade="true" schema="ndb" table="tephras"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="eventtypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="eventtypeid" foreignKey="fk_events_eventtypes" implied="false" onDeleteCascade="true" schema="ndb" table="eventtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="eventname" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="c14age" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="c14ageyounger" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="c14ageolder" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="calage" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="calageyounger" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="calageolder" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="10" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="eventid" sequenceNumberInPK="1"/>
         <index name="events_pkey" unique="true">
            <column ascending="true" name="eventid"/>
         </index>
      </table>
      <table catalog="neotoma" name="eventtypes" numRows="9" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_eventtypes_eventtypeid'::regclass)" digits="0" id="0" name="eventtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="eventtypeid" foreignKey="fk_events_eventtypes" implied="false" onDeleteCascade="true" schema="ndb" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="eventtype" nullable="false" remarks="" size="40" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="chroncontroltypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontroltypeid" foreignKey="evt_cct" implied="false" onDeleteCascade="false" schema="ndb" table="chroncontroltypes"/>
         </column>
         <primaryKey column="eventtypeid" sequenceNumberInPK="1"/>
         <index name="eventtypes_pkey" unique="true">
            <column ascending="true" name="eventtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="externalcontacts" numRows="2614" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="contactid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="externalcontacts_contactid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="identifier" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="extdatabaseid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="extdatabaseid" foreignKey="externalcontacts_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externaldatabases"/>
         </column>
         <index name="externalcontacts_contactid_identifier_extdatabaseid_key" unique="true">
            <column ascending="true" name="contactid"/>
            <column ascending="true" name="identifier"/>
            <column ascending="true" name="extdatabaseid"/>
         </index>
      </table>
      <table catalog="neotoma" name="externaldatabases" numRows="11" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_externaldatabases_extdatabaseid'::regclass)" digits="0" id="0" name="extdatabaseid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="exdatabaseid" foreignKey="contactreferences_exdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="contactreferences"/>
            <child catalog="neotoma" column="extdatabaseid" foreignKey="externalcontacts_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externalcontacts"/>
            <child catalog="neotoma" column="extdatabaseid" foreignKey="externalgeochronology_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externalgeochronology"/>
            <child catalog="neotoma" column="extdatabaseid" foreignKey="fk_externalpublications_externaldatabases" implied="false" onDeleteCascade="true" schema="ndb" table="externalpublications"/>
            <child catalog="neotoma" column="extdatabaseid" foreignKey="externalspeleothemdata_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externalspeleothemdata"/>
            <child catalog="neotoma" column="extdatabaseid" foreignKey="fk_externaltaxa_externaldatabases" implied="false" onDeleteCascade="true" schema="ndb" table="externaltaxa"/>
            <child catalog="neotoma" column="extdatabaseid" foreignKey="externalspeleothemdata_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="public" table="externalspeleothemdata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="extdatabasename" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="url" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="urlmask" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <primaryKey column="extdatabaseid" sequenceNumberInPK="1"/>
         <index name="externaldatabases_pkey" unique="true">
            <column ascending="true" name="extdatabaseid"/>
         </index>
      </table>
      <table catalog="neotoma" name="externalgeochronology" numRows="6374" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geochronid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="externalgeochronology_geochronid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="extdatabaseid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="extdatabaseid" foreignKey="externalgeochronology_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externaldatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="identifier" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="uniqueid" unique="true">
            <column ascending="true" name="geochronid"/>
            <column ascending="true" name="extdatabaseid"/>
            <column ascending="true" name="identifier"/>
         </index>
      </table>
      <table catalog="neotoma" name="externalpublications" numRows="1317" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="publicationid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_externalpublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="extdatabaseid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="extdatabaseid" foreignKey="fk_externalpublications_externaldatabases" implied="false" onDeleteCascade="true" schema="ndb" table="externaldatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="extpublicationid" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="publicationid" sequenceNumberInPK="1"/>
         <primaryKey column="extdatabaseid" sequenceNumberInPK="2"/>
         <index name="externalpublications_pkey" unique="true">
            <column ascending="true" name="publicationid"/>
            <column ascending="true" name="extdatabaseid"/>
         </index>
      </table>
      <table catalog="neotoma" name="externalspeleothemdata" numRows="857" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="externalspeleothemdata_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="externalid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="extdatabaseid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="extdatabaseid" foreignKey="externalspeleothemdata_extdatabaseid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externaldatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="externaldescription" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="externaltaxa" numRows="46855" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="taxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_externaltaxa_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="extdatabaseid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="extdatabaseid" foreignKey="fk_externaltaxa_externaldatabases" implied="false" onDeleteCascade="true" schema="ndb" table="externaldatabases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="exttaxonid" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="url" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="taxonid" sequenceNumberInPK="1"/>
         <primaryKey column="extdatabaseid" sequenceNumberInPK="2"/>
         <primaryKey column="exttaxonid" sequenceNumberInPK="3"/>
         <index name="externaltaxa_pkey" unique="true">
            <column ascending="true" name="taxonid"/>
            <column ascending="true" name="extdatabaseid"/>
            <column ascending="true" name="exttaxonid"/>
         </index>
         <index name="ix_extdatabaseid_exttaxonid_externaltaxa" unique="false">
            <column ascending="true" name="extdatabaseid"/>
            <column ascending="true" name="exttaxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="faciestypes" numRows="103" remarks="Lookup table of Facies Types. Table is referenced by the AnalysisUnits table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_faciestypes_faciesid'::regclass)" digits="0" id="0" name="faciesid" nullable="false" remarks="An arbitrary Facies identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="faciesid" foreignKey="fk_analysisunits_faciestypes" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="facies" nullable="false" remarks="Short Facies description." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="faciesid" sequenceNumberInPK="1"/>
         <index name="faciestypes_pkey" unique="true">
            <column ascending="true" name="faciesid"/>
         </index>
      </table>
      <table catalog="neotoma" name="formtaxa" numRows="3" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_formtaxa_formtaxonid'::regclass)" digits="0" id="0" name="formtaxonid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_formtaxa_taxa" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="affinityid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_formtaxa_taxa1" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="publicationid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_formtaxa_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="systematicdescription" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="formtaxonid" sequenceNumberInPK="1"/>
         <index name="formtaxa_pkey" unique="true">
            <column ascending="true" name="formtaxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="fractiondated" numRows="29" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_fractiondated_fractionid'::regclass)" digits="0" id="0" name="fractionid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="fractionid" foreignKey="sd_fcid" implied="false" onDeleteCascade="false" schema="ndb" table="specimendates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="fraction" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="fractionid" sequenceNumberInPK="1"/>
         <index name="fractiondated_pkey" unique="true">
            <column ascending="true" name="fractionid"/>
         </index>
      </table>
      <table catalog="neotoma" name="geochroncontrols" numRows="71769" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="chroncontrolid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontrolid" foreignKey="fk_geochroncontrols_chroncontrols" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="geochronid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="fk_geochroncontrols_geochronology" implied="false" onDeleteCascade="true" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="chroncontrolid" sequenceNumberInPK="1"/>
         <primaryKey column="geochronid" sequenceNumberInPK="2"/>
         <index name="geochroncontrols_pkey" unique="true">
            <column ascending="true" name="chroncontrolid"/>
            <column ascending="true" name="geochronid"/>
         </index>
         <index name="ix_chroncontrolid_geochroncontrols" unique="false">
            <column ascending="true" name="chroncontrolid"/>
         </index>
         <index name="ix_geochronid_geochroncontrols" unique="false">
            <column ascending="true" name="geochronid"/>
         </index>
      </table>
      <table catalog="neotoma" name="geochronology" numRows="50148" remarks="This table stores geochronologic data. Geochronologic measurements are from geochronologic samples, which are from Analysis Units, which may have a depth and thickness. Geochronologic measurements may be from the same or different Analysis Units as fossils. In the case of faunal excavations, geochronologic samples are typically from the same Analysis Units as the fossils, and there may be multiple geochronologic samples from a single Analysis Unit. In the case of cores used for microfossil analysis, geochronologic samples are often from separate Analysis Units; dated core sections are often thicker than microfossil Analysis Units." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_geochronology_geochronid'::regclass)" digits="0" id="0" name="geochronid" nullable="false" remarks="An arbitrary Geochronologic identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="geochronid" foreignKey="externalgeochronology_geochronid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="externalgeochronology"/>
            <child catalog="neotoma" column="geochronid" foreignKey="fk_geochroncontrols_geochronology" implied="false" onDeleteCascade="true" schema="ndb" table="geochroncontrols"/>
            <child catalog="neotoma" column="geochronid" foreignKey="fk_geochronpublications_geochronology" implied="false" onDeleteCascade="true" schema="ndb" table="geochronpublications"/>
            <child catalog="neotoma" column="geochronid" foreignKey="fk_geochrons_geochronid" implied="false" onDeleteCascade="true" schema="ndb" table="radiocarbon"/>
            <child catalog="neotoma" column="geochronid" foreignKey="sd_gcid" implied="false" onDeleteCascade="true" schema="ndb" table="specimendates"/>
            <child catalog="neotoma" column="geochronid" foreignKey="uraniumseries_geochronid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="uraniumseries"/>
            <child catalog="neotoma" column="geochronid" foreignKey="uraniumseriesdata_geochronid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="uraniumseriesdata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sampleid" nullable="false" remarks="Sample identification number. Field links to Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="fk_geochronology_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="geochrontypeid" nullable="false" remarks="Identification number for the type of Geochronologic analysis, e.g. «Carbon-14», «Thermoluminescence». Field links to the GeochronTypes table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochrontypeid" foreignKey="fk_geochronology_geochrontypes" implied="false" onDeleteCascade="true" schema="ndb" table="geochrontypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="agetypeid" nullable="false" remarks="Identification number for the age units, e.g. «Radiocarbon years BP», «Calibrated radiocarbon years BP»." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="agetypeid" foreignKey="fk_geochronology_agetypes" implied="false" onDeleteCascade="false" schema="ndb" table="agetypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="age" nullable="true" remarks="Reported age value of the geochronologic measurement." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="errorolder" nullable="true" remarks="The older error limit of the age value. For a date reported with ±1 SD or σ, the ErrorOlder and ErrorYounger values are this value." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="erroryounger" nullable="true" remarks="The younger error limit of the age value." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="infinite" nullable="false" remarks="Is «True» for and infinite or “greater than” geochronologic measurement, otherwise is «False»." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="delta13c" nullable="true" remarks="The measured or assumed δ13C value for radiocarbon dates, if provided. Radiocarbon dates are assumed to be normalized to δ13C, and if uncorrected and normalized ages are reported, the normalized age should be entered in the database." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="labnumber" nullable="true" remarks="Lab number for the geochronologic measurement." size="40" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="materialdated" nullable="true" remarks="Material analyzed for a geochronologic measurement." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="notes" nullable="true" remarks="Free form notes or comments about the geochronologic measurement." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="12" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="geochronid" sequenceNumberInPK="1"/>
         <index name="geochronology_pkey" unique="true">
            <column ascending="true" name="geochronid"/>
         </index>
         <index name="geoage_idx" unique="false">
            <column ascending="true" name="age"/>
         </index>
         <index name="geochronology_labnumber_idx" unique="false">
            <column ascending="true" name="labnumber"/>
         </index>
         <index name="geochronology_unique" unique="true">
            <column ascending="true" name="sampleid"/>
            <column ascending="true" name="labnumber"/>
         </index>
         <index name="ix_sampleid_geochronology" unique="false">
            <column ascending="true" name="sampleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="geochronpublications" numRows="41621" remarks="Publications in which Geochronologic measurements are reported. Many older radiocarbon dates are reported in the journal Radiocarbon. Dates may be reported in multiple publications. The “publication” could be a database such as the online Canadian Archaeological Radiocarbon Database." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geochronid" nullable="false" remarks="Geochronologic identification number. Field links to the Geochronology table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="fk_geochronpublications_geochronology" implied="false" onDeleteCascade="true" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="Publication identification number. Field links to the Publications table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_geochronpublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="geochronid" sequenceNumberInPK="1"/>
         <primaryKey column="publicationid" sequenceNumberInPK="2"/>
         <index name="geochronpublications_pkey" unique="true">
            <column ascending="true" name="geochronid"/>
            <column ascending="true" name="publicationid"/>
         </index>
         <index name="ix_geochronid_geochronpublications" unique="false">
            <column ascending="true" name="geochronid"/>
         </index>
         <index name="ix_publicationid_geochronpublications" unique="false">
            <column ascending="true" name="publicationid"/>
         </index>
      </table>
      <table catalog="neotoma" name="geochrontypes" numRows="19" remarks="Lookup table for Geochronology Types. Table is referenced by the Geochronology table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_geochrontypes_geochrontypeid'::regclass)" digits="0" id="0" name="geochrontypeid" nullable="false" remarks="Geochronology Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="geochrontypeid" foreignKey="fk_geochronology_geochrontypes" implied="false" onDeleteCascade="true" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="geochrontype" nullable="false" remarks="Type of Geochronologic measurement." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="geochrontypeid" sequenceNumberInPK="1"/>
         <index name="geochrontypes_pkey" unique="true">
            <column ascending="true" name="geochrontypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="geopaths" numRows="9997" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geoout" nullable="false" remarks="" size="10" type="_int4" typeCode="2003"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="geoin" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent catalog="neotoma" column="geopoliticalid" foreignKey="geopaths_geoin_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="geopoliticalunits"/>
         </column>
         <primaryKey column="geoout" sequenceNumberInPK="1"/>
         <primaryKey column="geoin" sequenceNumberInPK="2"/>
         <index name="geopaths_pkey" unique="true">
            <column ascending="true" name="geoout"/>
            <column ascending="true" name="geoin"/>
         </index>
      </table>
      <table catalog="neotoma" name="geopoldepth" numRows="0" remarks="" schema="ndb" type="VIEW" viewSql=" WITH RECURSIVE gpid_path AS (&#10;         SELECT gp_1.geopoliticalid,&#10;            (gp_1.geopoliticalid)::text AS gpid&#10;           FROM ndb.geopoliticalunits gp_1&#10;          WHERE (gp_1.rank = 1)&#10;        UNION ALL&#10;         SELECT gpu_1.geopoliticalid,&#10;            concat(gpa.gpid, ',', gpu_1.geopoliticalid) AS concat&#10;           FROM (ndb.geopoliticalunits gpu_1&#10;             JOIN gpid_path gpa ON ((gpa.geopoliticalid = gpu_1.highergeopoliticalid)))&#10;        )&#10; SELECT gp.geopoliticalid,&#10;    gpu.geopoliticalname,&#10;    gpu.geopoliticalunit,&#10;    gpu.rank,&#10;    (string_to_array(gp.gpid, ','::text))::integer[] AS path&#10;   FROM (gpid_path gp&#10;     JOIN ndb.geopoliticalunits gpu ON ((gpu.geopoliticalid = gp.geopoliticalid)))&#10;  ORDER BY gp.geopoliticalid;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geopoliticalid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geopoliticalid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="geopoliticalunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="geopoliticalname" nullable="true" remarks="" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="geopoliticalunit" nullable="true" remarks="" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="rank" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="path" nullable="true" remarks="" size="10" type="_int4" typeCode="2003"/>
      </table>
      <table catalog="neotoma" name="geopoliticalunits" numRows="10107" remarks="Lookup table of GeoPoliticalUnits. Table is referenced by the SiteGeoPolitical table. These are countries and various subdivisions. Countries and subdivisions were acquired from the U.S. Central Intelligence Agency World Factbook8 and the ISO 3166-1 and ISO 3166-2 databases9.&#10;Each GeoPolitical Unit has a rank. GeoPolitical Units with Rank 1 are generally countries. There are a few exceptions, including Antarctica and island territories, such as Greenland, which although a Danish territory, is geographically separate and distinct. Rank 2 units are generally secondary political divisions with various designations: e.g. states in the United States, provinces in Canada, and regions in France. For some countries, the secondary divisions are not political but rather distinct geographic entities, such as islands. The secondary divisions of some island nations include either groups of islands or sections of more highly populated islands; however, the actual island on which a site is located is more important information. Some countries also have Rank 3 units, e.g. counties in the United States and metropolitan departments in France. In addition to purely political units, various other administrative regions and geographic entities can be contained in this table. Examples of administrative regions are National Parks and Forests. It might be quite useful, for example, to have a record of all the sites in Yellowstone National Park. These additional units are Rank 4, and they can be added to the database as warranted." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_geopoliticalunits_geopoliticalid'::regclass)" digits="0" id="0" name="geopoliticalid" nullable="false" remarks="An arbitrary GeoPolitical identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="geoin" foreignKey="geopaths_geoin_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="geopaths"/>
            <child catalog="neotoma" column="geopoliticalid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="geopoldepth"/>
            <child catalog="neotoma" column="geopoliticalid" foreignKey="fk_sitegeopolitical_geopoliticalunits" implied="false" onDeleteCascade="false" schema="ndb" table="sitegeopolitical"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="geopoliticalname" nullable="false" remarks="Name of the GeoPolitical Unit, e.g. Canada, Saskatchewan." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="geopoliticalunit" nullable="true" remarks="The name of the unit, e.g. country, state, county, island, governorate, oblast." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="rank" nullable="false" remarks="The rank of the unit." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="highergeopoliticalid" nullable="false" remarks="The GeoPoliticalUnit with higher rank, e.g. the country in which a state lies." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="geopoliticalid" sequenceNumberInPK="1"/>
         <index name="geopoliticalunits_pkey" unique="true">
            <column ascending="true" name="geopoliticalid"/>
         </index>
         <index name="ix_geopoliticalname_geopoliticalunits" unique="false">
            <column ascending="true" name="geopoliticalname"/>
         </index>
         <index name="ix_rank_geopoliticalunits" unique="false">
            <column ascending="true" name="rank"/>
         </index>
      </table>
      <table catalog="neotoma" name="hiatuschronology" numRows="1496" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hiatusid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="hiatusid" foreignKey="hiatuschronology_hiatusid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="hiatuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="chronologyid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chronologyid" foreignKey="hiatuschronology_chronologyid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="chronologies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hiatuslength" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hiatusuncertainty" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <index name="hiatuschronology_hiatusid_chronologyid_key" unique="true">
            <column ascending="true" name="hiatusid"/>
            <column ascending="true" name="chronologyid"/>
         </index>
         <checkConstraint constraint="((hiatuslength &gt;= 0))" name="hiatuschronology_hiatuslength_check"/>
      </table>
      <table catalog="neotoma" name="hiatuses" numRows="411" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.hiatuses_hiatusid_seq'::regclass)" digits="0" id="0" name="hiatusid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="hiatusid" foreignKey="hiatuschronology_hiatusid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="hiatuschronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="analysisunitstart" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="hiatuses_analysisunitstart_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="analysisunitend" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="hiatuses_analysisunitend_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="hiatusid" sequenceNumberInPK="1"/>
         <index name="hiatuses_pkey" unique="true">
            <column ascending="true" name="hiatusid"/>
         </index>
         <index name="hiatuses_hiatusid_analysisunitstart_analysisunitend_key" unique="true">
            <column ascending="true" name="hiatusid"/>
            <column ascending="true" name="analysisunitstart"/>
            <column ascending="true" name="analysisunitend"/>
         </index>
      </table>
      <table catalog="neotoma" name="isobiomarkerbandtypes" numRows="9" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isobiomarkerbandtypes_isobiomarkerbandtypeid'::regclass)" digits="0" id="0" name="isobiomarkerbandtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isobiomarkertypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isobiomarkertypeid" foreignKey="fk_isobiomarkerbands_isobiomarkertypes" implied="false" onDeleteCascade="true" schema="ndb" table="isobiomarkertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isobiomarkerbandtype" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isobiomarkerbandtypeid" sequenceNumberInPK="1"/>
         <index name="isobiomarkerbandtypes_pkey" unique="true">
            <column ascending="true" name="isobiomarkerbandtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isobiomarkertypes" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isobiomarkertypes_isobiomarkertypeid'::regclass)" digits="0" id="0" name="isobiomarkertypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isobiomarkertypeid" foreignKey="fk_isobiomarkerbands_isobiomarkertypes" implied="false" onDeleteCascade="true" schema="ndb" table="isobiomarkerbandtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isobiomarkertype" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isobiomarkertypeid" sequenceNumberInPK="1"/>
         <index name="isobiomarkertypes_pkey" unique="true">
            <column ascending="true" name="isobiomarkertypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isoinstrumentation" numRows="156" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_isoinstrumentation_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variableid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="fk_isoinstrumentation_variables" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isoinstrumentationtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isoinstrumentationtypeid" foreignKey="fk_isoinstrumentation_isoinstrumentationtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isoinstrumentationtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="isosampleintrosystemtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isosampleintrosystemtypeid" foreignKey="fk_isoinstrumentation_isosampleintrosystemtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isosampleintrosystemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="insterrorpercent" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="insterrorrunsd" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="insterrorlongtermpercent" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="8" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="variableid" sequenceNumberInPK="2"/>
         <index name="isoinstrumentation_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="variableid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isoinstrumentationtypes" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isoinstrumentationtypes_isoinstrumentationtypeid'::regclass)" digits="0" id="0" name="isoinstrumentationtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isoinstrumentationtypeid" foreignKey="fk_isoinstrumentation_isoinstrumentationtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isoinstrumentation"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isoinstrumentationtype" nullable="false" remarks="" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isoinstrumentationtypeid" sequenceNumberInPK="1"/>
         <index name="isoinstrumentationtypes_pkey" unique="true">
            <column ascending="true" name="isoinstrumentationtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isomatanalsubstrate" numRows="19" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="isomatanaltypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isomatanaltypeid" foreignKey="fk_isomatanalsubstrate_isomaterialanalyzedtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isomaterialanalyzedtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isosubstratetypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isosubstratetypeid" foreignKey="fk_isomatanalsubstrate_isosubstratetypes" implied="false" onDeleteCascade="true" schema="ndb" table="isosubstratetypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isomatanaltypeid" sequenceNumberInPK="1"/>
         <primaryKey column="isosubstratetypeid" sequenceNumberInPK="2"/>
         <index name="isomatanalsubstrate_pkey" unique="true">
            <column ascending="true" name="isomatanaltypeid"/>
            <column ascending="true" name="isosubstratetypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isomaterialanalyzedtypes" numRows="12" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isomaterialanalyzedtypes_isomatanaltypeid'::regclass)" digits="0" id="0" name="isomatanaltypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isomatanaltypeid" foreignKey="fk_isomatanalsubstrate_isomaterialanalyzedtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isomatanalsubstrate"/>
            <child catalog="neotoma" column="isomatanaltypeid" foreignKey="fk_isometadata_isomaterialanalyzedtypes" implied="false" onDeleteCascade="false" schema="ndb" table="isometadata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isomaterialanalyzedtype" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isomatanaltypeid" sequenceNumberInPK="1"/>
         <index name="isomaterialanalyzedtypes_pkey" unique="true">
            <column ascending="true" name="isomatanaltypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isometadata" numRows="4893" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isometadata_isometadataid'::regclass)" digits="0" id="0" name="isometadataid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_isometadata_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isomatanaltypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isomatanaltypeid" foreignKey="fk_isometadata_isomaterialanalyzedtypes" implied="false" onDeleteCascade="false" schema="ndb" table="isomaterialanalyzedtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="isosubstratetypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isosubstratetypeid" foreignKey="fk_isometadata_isosubstratetypes" implied="false" onDeleteCascade="false" schema="ndb" table="isosubstratetypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="analystid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_isometadata_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="lab" nullable="true" remarks="" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="labnumber" nullable="true" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="mass_mg" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="weightpercent" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="9" name="atomicpercent" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="reps" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="11" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isometadataid" sequenceNumberInPK="1"/>
         <index name="isometadata_pkey" unique="true">
            <column ascending="true" name="isometadataid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isopretreatmenttypes" numRows="40" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isopretreatmenttypes_isopretreatmenttypeid'::regclass)" digits="0" id="0" name="isopretreatmenttypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isopretreatmenttypeid" foreignKey="fk_isosamplepretreatments_isopretratmenttypes" implied="false" onDeleteCascade="true" schema="ndb" table="isosamplepretreatments"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isopretreatmenttype" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isopretreatmentqualifier" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isopretreatmenttypeid" sequenceNumberInPK="1"/>
         <index name="isopretreatmenttypes_pkey" unique="true">
            <column ascending="true" name="isopretreatmenttypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isosampleintrosystemtypes" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isosampleintrosystemtypes_isosampleintrosystemtypeid'::regclass)" digits="0" id="0" name="isosampleintrosystemtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isosampleintrosystemtypeid" foreignKey="fk_isoinstrumentation_isosampleintrosystemtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isoinstrumentation"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isosampleintrosystemtype" nullable="false" remarks="" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isosampleintrosystemtypeid" sequenceNumberInPK="1"/>
         <index name="isosampleintrosystemtypes_pkey" unique="true">
            <column ascending="true" name="isosampleintrosystemtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isosampleorigintypes" numRows="6" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isosampleorigintypes_isosampleorigintypeid'::regclass)" digits="0" id="0" name="isosampleorigintypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isosampleorigintype" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isosampleorigintypeid" sequenceNumberInPK="1"/>
         <index name="isosampleorigintypes_pkey" unique="true">
            <column ascending="true" name="isosampleorigintypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isosamplepretreatments" numRows="1035" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_isosamplepretreatments_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isopretreatmenttypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isopretreatmenttypeid" foreignKey="fk_isosamplepretreatments_isopretratmenttypes" implied="false" onDeleteCascade="true" schema="ndb" table="isopretreatmenttypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="order" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="value" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="dataid" sequenceNumberInPK="1"/>
         <primaryKey column="isopretreatmenttypeid" sequenceNumberInPK="2"/>
         <primaryKey column="order" sequenceNumberInPK="3"/>
         <index name="isosamplepretreatments_pkey" unique="true">
            <column ascending="true" name="dataid"/>
            <column ascending="true" name="isopretreatmenttypeid"/>
            <column ascending="true" name="order"/>
         </index>
      </table>
      <table catalog="neotoma" name="isoscaletypes" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isoscaletypes_isoscaletypeid'::regclass)" digits="0" id="0" name="isoscaletypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isoscaletypeid" foreignKey="fk_isovariablescaletypes_isoscaletypes" implied="false" onDeleteCascade="true" schema="ndb" table="isovariablescaletypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isoscaleacronym" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isoscalename" nullable="false" remarks="" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isoscaletypeid" sequenceNumberInPK="1"/>
         <index name="isoscaletypes_pkey" unique="true">
            <column ascending="true" name="isoscaletypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isospecimendata" numRows="5193" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isospecimendata_isospecimendataid'::regclass)" digits="0" id="0" name="isospecimendataid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_isospecimendata_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="specimenid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="specimenid" foreignKey="fk_isospecimendata_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="sd" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isospecimendataid" sequenceNumberInPK="1"/>
         <index name="isospecimendata_pkey" unique="true">
            <column ascending="true" name="isospecimendataid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isosrmetadata" numRows="14" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_isosrmetadata_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variableid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="fk_isosrmetadata_variables" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="srlocalvalue" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="srlocalgeolcontext" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="variableid" sequenceNumberInPK="2"/>
         <index name="isosrmetadata_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="variableid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isostandards" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_isostandards_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variableid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="fk_isostandards_variables" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isostandardid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isostandardtypeid" foreignKey="fk_isostandards_isostandardtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isostandardtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="value" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="variableid" sequenceNumberInPK="2"/>
         <primaryKey column="isostandardid" sequenceNumberInPK="3"/>
         <index name="isostandards_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="variableid"/>
            <column ascending="true" name="isostandardid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isostandardtypes" numRows="20" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isostandardtypes_isostandardtypeid'::regclass)" digits="0" id="0" name="isostandardtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isostandardid" foreignKey="fk_isostandards_isostandardtypes" implied="false" onDeleteCascade="true" schema="ndb" table="isostandards"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isostandardtype" nullable="false" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isostandardmaterial" nullable="false" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isostandardtypeid" sequenceNumberInPK="1"/>
         <index name="isostandardtypes_pkey" unique="true">
            <column ascending="true" name="isostandardtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isostratdata" numRows="674" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_isostratdata_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="1" name="sd" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="taxonid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_isostratdata_taxa" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="elementtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtypeid" foreignKey="fk_isostratdata_elementtypes" implied="false" onDeleteCascade="true" schema="ndb" table="elementtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="dataid" sequenceNumberInPK="1"/>
         <index name="isostratdata_pkey" unique="true">
            <column ascending="true" name="dataid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isosubstratetypes" numRows="11" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_isosubstratetypes_isosubstratetypeid'::regclass)" digits="0" id="0" name="isosubstratetypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="isosubstratetypeid" foreignKey="fk_isomatanalsubstrate_isosubstratetypes" implied="false" onDeleteCascade="true" schema="ndb" table="isomatanalsubstrate"/>
            <child catalog="neotoma" column="isosubstratetypeid" foreignKey="fk_isometadata_isosubstratetypes" implied="false" onDeleteCascade="false" schema="ndb" table="isometadata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isosubstratetype" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="isosubstratetypeid" sequenceNumberInPK="1"/>
         <index name="isosubstratetypes_pkey" unique="true">
            <column ascending="true" name="isosubstratetypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="isovariablescaletypes" numRows="14" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="variableid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableid" foreignKey="fk_isovariablescaletypes_variables" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="isoscaletypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="isoscaletypeid" foreignKey="fk_isovariablescaletypes_isoscaletypes" implied="false" onDeleteCascade="true" schema="ndb" table="isoscaletypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="variableid" sequenceNumberInPK="1"/>
         <primaryKey column="isoscaletypeid" sequenceNumberInPK="2"/>
         <index name="isovariablescaletypes_pkey" unique="true">
            <column ascending="true" name="variableid"/>
            <column ascending="true" name="isoscaletypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="keywords" numRows="5" remarks="Lookup table of Keywords referenced by the SampleKeywords table. The table provides a means to identify samples sharing a common attribute. For example, the keyword «modern sample» identifies modern surface samples in the database. These samples include individual surface samples, as well as core tops. Although not implemented, a «pre-European settlement» keyword would be a means to identify samples just predating European settlement." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_keywords_keywordid'::regclass)" digits="0" id="0" name="keywordid" nullable="false" remarks="An arbitrary Keyword identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="keywordid" foreignKey="fk_samplekeywords_keywords" implied="false" onDeleteCascade="false" schema="ndb" table="samplekeywords"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="keyword" nullable="false" remarks="A keyword for identifying samples sharing a common attribute." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="keywordid" sequenceNumberInPK="1"/>
         <index name="keywords_pkey" unique="true">
            <column ascending="true" name="keywordid"/>
         </index>
      </table>
      <table catalog="neotoma" name="lakeparameters" numRows="24350" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="siteid" nullable="false" remarks="FK: SiteID links to Sites table" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="fk_lakeparameters_sites" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="lakeparameterid" nullable="false" remarks="FK: LakeParameter ID links to LakeParameterTypes table" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="lakeparameterid" foreignKey="fk_lakeparameters_lakeparametertypes" implied="false" onDeleteCascade="true" schema="ndb" table="lakeparametertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="value" nullable="false" remarks="Numerical value of parameter" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="siteid" sequenceNumberInPK="1"/>
         <primaryKey column="lakeparameterid" sequenceNumberInPK="2"/>
         <index name="lakeparameters_pkey" unique="true">
            <column ascending="true" name="siteid"/>
            <column ascending="true" name="lakeparameterid"/>
         </index>
         <index name="ix_lakeparameterid_lakeparameters" unique="false">
            <column ascending="true" name="lakeparameterid"/>
         </index>
         <index name="ix_siteid_lakeparameters" unique="false">
            <column ascending="true" name="siteid"/>
         </index>
      </table>
      <table catalog="neotoma" name="lakeparametertypes" numRows="21" remarks="A set of variables associated with lakes, including area, depth and volume." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_lakeparametertypes_lakeparameterid'::regclass)" digits="0" id="0" name="lakeparameterid" nullable="false" remarks="PK: LakeParameterID" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="lakeparameterid" foreignKey="fk_lakeparameters_lakeparametertypes" implied="false" onDeleteCascade="true" schema="ndb" table="lakeparameters"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="lakeparametercode" nullable="false" remarks="Code espcially for data entry apps" size="20" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="lakeparametershortname" nullable="false" remarks="Short name useful for data entry apps" size="40" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="lakeparameter" nullable="false" remarks="Full name" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="lakeparameterid" sequenceNumberInPK="1"/>
         <index name="lakeparametertypes_pkey" unique="true">
            <column ascending="true" name="lakeparameterid"/>
         </index>
      </table>
      <table catalog="neotoma" name="landusetypes" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.landusetypes_landusecovertypeid_seq'::regclass)" digits="0" id="0" name="landusecovertypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="landusecovertype" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="landusecovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="publicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="landusetypes_landuseclasspublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <primaryKey column="landusecovertypeid" sequenceNumberInPK="1"/>
         <index name="landusetypes_pkey" unique="true">
            <column ascending="true" name="landusecovertypeid"/>
         </index>
         <index name="landusetypes_landusecovertype_key" unique="true">
            <column ascending="true" name="landusecovertype"/>
         </index>
      </table>
      <table catalog="neotoma" name="leadmodelbasis" numRows="6" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.leadmodelbasis_pbbasisid_seq'::regclass)" digits="0" id="0" name="pbbasisid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="pbbasisid" foreignKey="leadmodels_pbbasisid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="leadmodels"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="pbbasis" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="pbbasisid" sequenceNumberInPK="1"/>
         <index name="leadmodelbasis_pkey" unique="true">
            <column ascending="true" name="pbbasisid"/>
         </index>
      </table>
      <table catalog="neotoma" name="leadmodels" numRows="1414" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="pbbasisid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="pbbasisid" foreignKey="leadmodels_pbbasisid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="leadmodelbasis"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="analysisunitid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="leadmodels_analysisunitid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="cumulativeinventory" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <checkConstraint constraint="((cumulativeinventory &gt; (0)::numeric))" name="leadmodels_cumulativeinventory_check"/>
      </table>
      <table catalog="neotoma" name="lithology" numRows="33253" remarks="This table stores the lithologic descriptions of Collection Units." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_lithology_lithologyid'::regclass)" digits="0" id="0" name="lithologyid" nullable="false" remarks="An arbitrary identification number for a lithologic unit." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="false" remarks="Collection Unit identification number. Field links to the CollectionUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="fk_lithology_collectionunits" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="depthtop" nullable="true" remarks="Depth of the top of the lithologic unit in cm." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="depthbottom" nullable="true" remarks="Depth of the bottom of the lithologic unit in cm." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="lowerboundary" nullable="true" remarks="" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="description" nullable="true" remarks="Description of the lithologic unit. These can be quite detailed, with Munsell color or Troels-Smith descriptions. Some examples:&#10;interbedded gray silt and peat&#10;marly fine-detritus copropel&#10;humified sedge and Sphagnum peat&#10;sedge peat 5YR 5/4&#10;gray sandy loam with mammoth and other animal bones&#10;grey-green gyttja, oxidizing to gray-brown&#10;Ag 3, Ga 1, medium gray, firm, elastic&#10;nig3, strf0, elas2, sicc0; Th2 T12 Tb+&#10;Ld°4, Ga+, Dg+, Dh+" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="6" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="lithologyid" sequenceNumberInPK="1"/>
         <index name="lithology_pkey" unique="true">
            <column ascending="true" name="lithologyid"/>
         </index>
         <index name="ix_collectionunitid_lithology" unique="false">
            <column ascending="true" name="collectionunitid"/>
         </index>
      </table>
      <table catalog="neotoma" name="lithostrat" numRows="16" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_lithostrat_lithostratid'::regclass)" digits="0" id="0" name="lithostratid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="lithostratid" foreignKey="fk_analysisunitlithostrat_lithostrat" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunitlithostrat"/>
            <child catalog="neotoma" column="higherlithostratid" foreignKey="fk_higherlithostratid" implied="false" onDeleteCascade="false" schema="ndb" table="lithostrat"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="lithostratunitid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="lithostratunitid" foreignKey="fk_lithostratunits_lithostrattypes" implied="false" onDeleteCascade="true" schema="ndb" table="lithostratunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="lithostratname" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="higherlithostratid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="lithostratid" foreignKey="fk_higherlithostratid" implied="false" onDeleteCascade="false" schema="ndb" table="lithostrat"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="lithostratid" sequenceNumberInPK="1"/>
         <index name="lithostrat_pkey" unique="true">
            <column ascending="true" name="lithostratid"/>
         </index>
      </table>
      <table catalog="neotoma" name="lithostratunits" numRows="5" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_lithostratunits_lithostratunitid'::regclass)" digits="0" id="0" name="lithostratunitid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="lithostratunitid" foreignKey="fk_lithostratunits_lithostrattypes" implied="false" onDeleteCascade="true" schema="ndb" table="lithostrat"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="lithostratunit" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="rank" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="lithostratunitid" sequenceNumberInPK="1"/>
         <index name="lithostratunits_pkey" unique="true">
            <column ascending="true" name="lithostratunitid"/>
         </index>
      </table>
      <table catalog="neotoma" name="publicationauthors" numRows="32714" remarks="This table lists authors as their names are given in publications. Only the initials are stored for authors’ given names. The ContactID links to the author’s full name and contact data in the Contacts table. Thus, for a bibliographic entry, Charles Robert Darwin is listed as C. R. Darwin, or as C. Darwin if the publication did not include his middle name. Book editors are also stored in this table if the entire book is cited. However, if a book chapter or section is cited, authors are stored in this table, but the book editors are stored in the PublicationEditors table. Thus, for the following reference, G. C. Frison is stored in the PublicationAuthors table.&#10;Frison, G. C., editor. 1996. The Mill Iron site. University of New Mexico Press, Albuquerque, New Mexico, USA.&#10;Whereas for the following publication, L. S. Cummings is listed in the PublicationAuthors table, and G. C. Frison is listed in the PublicationEditors table.&#10;Cummings, L. S. 1996. Paleoenvironmental interpretations for the Mill Iron site: stratigraphic pollen and phyrolith analysis. Pages 177-193 in G. C. Frison, editor. The Mill Iron site. University of New Mexico Press, Albuquerque, New Mexico, USA." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_publicationauthors_authorid'::regclass)" digits="0" id="0" name="authorid" nullable="false" remarks="An arbitrary Author identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="Publication identification number. Field links to the Publications table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_publicationauthors_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="authororder" nullable="true" remarks="Ordinal number for the position in which the author’s name appears in the publication’s author list." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="familyname" nullable="true" remarks="Family name of author" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="initials" nullable="true" remarks="Initials of author’s given names" size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="suffix" nullable="true" remarks="Authors suffix (e.g. «Jr.»)" size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="contactid" nullable="true" remarks="Contact identification number. Field links to the Contacts table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_publicationauthors_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="7" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="authorid" sequenceNumberInPK="1"/>
         <index name="publicationauthors_pkey" unique="true">
            <column ascending="true" name="authorid"/>
         </index>
         <index name="ix_contactid_publicationauthors" unique="false">
            <column ascending="true" name="contactid"/>
         </index>
         <index name="ix_publicationid_publicationauthors" unique="false">
            <column ascending="true" name="publicationid"/>
         </index>
      </table>
      <table catalog="neotoma" name="publicationeditors" numRows="1602" remarks="This table stores the editors of publications for which chapters or sections are the primary bibliographic entries. Chapter authors are stored in the PublicatonAuthors table, where they are linked to the Contacts table. However, publication editors are not cross-referenced in the Contacts table, because chapter authors are the principal citation." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_publicationeditors_editorid'::regclass)" digits="0" id="0" name="editorid" nullable="false" remarks="An arbitrary Editor identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="Publication identification number. Field links to the Publications table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_publicationeditors_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="editororder" nullable="true" remarks="Ordinal number for the position in which the editor’s name appears in the publication’s author list." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="familyname" nullable="true" remarks="Family name of editor" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="initials" nullable="true" remarks="Initials of editor’s given names" size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="suffix" nullable="true" remarks="Authors suffix (e.g. «Jr.»)" size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="6" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="editorid" sequenceNumberInPK="1"/>
         <index name="publicationeditors_pkey" unique="true">
            <column ascending="true" name="editorid"/>
         </index>
         <index name="ix_publicationid_publicationeditors" unique="false">
            <column ascending="true" name="publicationid"/>
         </index>
      </table>
      <table catalog="neotoma" name="publications" numRows="14993" remarks="This table stores publication or bibliographic data. The table is designed with fields for bibliographic data so that bibliographies can be formatted in different styles and potentially exported to bibliographic software such EndNote®. In the constituent databases that were originally merged into Neotoma, bibliographic entries were not parsed into separate fields, but rather were stored as free-form text. Because complete parsing of these thousands of legacy bibliographic entries into individual fields would have been prohibitively time consuming, the existing bibliographic data were ingested “as is” with a PubTypeID = Other. However, for legacy publications, the year of publication was added to the Year field, and authors were parsed into the PublicationAuthors table and added to the Contacts table. In addition, some global changes were made. For example, «Pp.» was changed to «Pages», «Ed.» to «Editor», and «Eds.» to «Editors». Also for FAUNMAP entries, abbreviated journal names were changed to fully spelled out names.&#10;The merged databases used different bibliographic styles, and data entry personnel working on the same database sometimes followed different conventions. Consequently, the current bibliographic entries are not stylistically uniform. Eventually, the legacy bibliographic data will be parsed into separate fields.&#10;The Publications table has fields to accommodate a number of different types of publications. Some fields contain different kinds of data for different kinds of publications. For example, the BookTitle field stores the titles of books, but stores the journal name for journal articles. The Publisher field stores the name of the publisher for books, but the name of the university for theses and dissertations.&#10;Authors are stored in the PublicationAuthors table. Editors are also stored in the PublicationAuthors table if the entire publication is cited. The PublicationAuthors table has a ContactID field, which links to the Contacts table, where full names and contact information is stored for authors and editors. The PubTypeID «Authored Book» or «Edited Book» indicates whether the Publication Authors records are authors or editors. If a book chapter or section is the primary bibliographic entry, then the book editors are stored in the PublicationEditors table, which does not have a ContactID field." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_publications_publicationid'::regclass)" digits="0" id="0" name="publicationid" nullable="false" remarks="An arbitrary Publication identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="publicationid" foreignKey="fk_calibrationcurves_publications" implied="false" onDeleteCascade="true" schema="ndb" table="calibrationcurves"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_datasetpublications_publications" implied="false" onDeleteCascade="false" schema="ndb" table="datasetpublications"/>
            <child catalog="neotoma" column="publicationid" foreignKey="decayconstants_publicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="decayconstants"/>
            <child catalog="neotoma" column="depthreferencepublicationid" foreignKey="depthreferencesystem_depthreferencepublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="depthreferencesystem"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_eventpublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="eventpublications"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_externalpublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="externalpublications"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_formtaxa_publications" implied="false" onDeleteCascade="true" schema="ndb" table="formtaxa"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_geochronpublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="geochronpublications"/>
            <child catalog="neotoma" column="publicationid" foreignKey="landusetypes_landuseclasspublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="landusetypes"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_publicationauthors_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publicationauthors"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_publicationeditors_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publicationeditors"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_publicationtranslators_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publicationtranslators"/>
            <child catalog="neotoma" column="publicationid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="pubtsv"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_relativeagepublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="relativeagepublications"/>
            <child catalog="neotoma" column="speleothemdriptypepublicationid" foreignKey="speleothemdriptypes_speleothemdriptypepublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothemdriptypes"/>
            <child catalog="neotoma" column="speleothemtypepublicationid" foreignKey="speleothemtypes_speleothemtypepublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothemtypes"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_synonymy_publications" implied="false" onDeleteCascade="true" schema="ndb" table="synonymy"/>
            <child catalog="neotoma" column="publicationid" foreignKey="fk_publicationid" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
            <child catalog="neotoma" column="vegetationpublicationid" foreignKey="vegetationcovertypes_vegetationpublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="vegetationcovertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="pubtypeid" nullable="true" remarks="Publication type. Field links to the PublicationTypes lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="pubtypeid" foreignKey="pub_pty" implied="false" onDeleteCascade="false" schema="ndb" table="publicationtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="year" nullable="true" remarks="Year of publication." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="citation" nullable="true" remarks="The complete citation in a standard style. For Legacy citations inherited from other databases, this field holds the citation as ingested from the other databases" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="articletitle" nullable="true" remarks="The title of a journal or book chapter article." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="journal" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="volume" nullable="true" remarks="The volume number of a journal or the volume number of a book in a set. A set of books is comprised of a fixed number of volumes and normally have ISBN numbers, not ISSN numbers. Book sets are often published simultaneously, but not necessarily. For instance, many floras, such as The Flora of North America north of Mexico and Flora Europaea, consist of a set number of volumes planned in advance but published over a period of years." size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="issue" nullable="true" remarks="Journal issue number, normally included only if issues are independently paginated." size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="pages" nullable="true" remarks="Page numbers for journal or book chapter articles, or the number of pages in theses, dissertations, and reports." size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="citationnumber" nullable="true" remarks="A citation or article number used in lieu of page numbers for digital or online publications, typically used in conjunction with the DOI. For example, journals published by the American Geophysical Union since 1999 use citation numbers rather than page numbers." size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="doi" nullable="true" remarks="Digital Object Identifier. A unique identifier assigned to digital publications. The DOI consists of a prefix and suffix separated by a slash. The portion before the slash stands for the publisher and is assigned by the International DOI Foundation. For example, 10.1029 is the prefix for the American Geophysical Union. The suffix is assigned by the publisher according to their protocols. For example, the DOI 10.1029/2002PA000768 is for an article submitted to Paleoceanography in 2002 and is article number 768 submitted since the system was installed. An example of CitationNumber and DOI:&#10;Barron, J. A., L. Heusser, T. Herbert, and M. Lyle. 2003. High-resolution climatic evolution of coastal northern California during the past 16,000 years, Paleoceanography 18(1):1020. DOI:10.1029/2002PA000768." size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="booktitle" nullable="true" remarks="The title of a book or journal" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="numvolumes" nullable="true" remarks="Number of volumes in a set of books. Used when the entire set is referenced. An example of NumVolumes and Edition:&#10;Wilson, D. E., and D. M. Reeder. 2005. Mammal species of the world: a taxonomic and geographic reference. Third edition. 2 volumes. The Johns Hopkins University Press, Baltimore, Maryland, USA." size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="edition" nullable="true" remarks="Edition of a publication." size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="volumetitle" nullable="true" remarks="Title of a book volume in a set. Used if the individual volume is referenced. Example of Volume and VolumeTitle:&#10;Flora of North America Editorial Committee. 2002. Flora of North America north of Mexico. Volume 26. Magnoliophyta: Liliidae: Liliales and Orchidales. Oxford University Press, New York, New York, USA." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="seriestitle" nullable="true" remarks="Title of a book series. Book series consist of a series of books, typically published at irregular intervals on sometimes related but different topics. The number of volumes in a series is typically open ended. Book series are often assigned ISSN numbers as well as ISBN numbers. However, in contrast to most serials, book series have individual titles and authors or editors. Citation practices for book series vary; sometimes they are cited as books, other times as journals. The default citation for Neotoma includes all information. An example of SeriesTitle and SeriesVolume:&#10;Curtis, J. H., and D. A. Hodell. 1993. An isotopic and trace element study of ostracods from Lake Miragoane, Haiti: A 10,500 year record of paleosalinity and paleotemperature changes in the Caribbean. Pages 135-152 in P. K. Swart, K. C. Lohmann, J. McKensie, and S. Savin, editors. Climate change in continental isotopic records. Geophysical Monograph 78. American Geophysical Union, Washington, D.C., USA." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="seriesvolume" nullable="true" remarks="Volume number in a series." size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="publisher" nullable="true" remarks="Publisher, including commercial publishing houses, university presses, government agencies, and non-governmental organizations, generally the owner of the copyright." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="city" nullable="true" remarks="City in which the publication was published. The first city if a list is given." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="state" nullable="true" remarks="State or province in which the publication was published. Used for the United States and Canada, not used for many countries." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="country" nullable="true" remarks="Country in which the publication was published, generally the complete country name, but «USA» for the United States." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="originallanguage" nullable="true" remarks="The original language if the publication or bibliographic citation is translated from another language or transliterated from a non-Latin character set. Field not needed for non-translated publications in languages using the Latin character set. In the following example, the ArticleTitle is translated from Russian to English and the BookTitle (journal name) is transliterated from Russian:&#10;Tarasov, P.E. 1991. Late Holocene features of the Kokchetav Highland. Vestnik Moskovskogo Universiteta. Series 5. Geography 6:54-60 [in Russian]." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="notes" nullable="true" remarks="Free form notes or comments about the publication, which may be added parenthetically to the citation." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="24" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="26" name="crossref" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="27" name="bibtex" nullable="true" remarks="" size="2147483647" type="varchar" typeCode="12"/>
         <primaryKey column="publicationid" sequenceNumberInPK="1"/>
         <index name="publications_pkey" unique="true">
            <column ascending="true" name="publicationid"/>
         </index>
      </table>
      <table catalog="neotoma" name="publicationtranslators" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_publicationtranslators_translatorid'::regclass)" digits="0" id="0" name="translatorid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_publicationtranslators_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="translatororder" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="familyname" nullable="true" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="initials" nullable="true" remarks="" size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="suffix" nullable="true" remarks="" size="8" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="6" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="translatorid" sequenceNumberInPK="1"/>
         <index name="publicationtranslators_pkey" unique="true">
            <column ascending="true" name="translatorid"/>
         </index>
      </table>
      <table catalog="neotoma" name="publicationtypes" numRows="13" remarks="Lookup table of Publication Types. This table is referenced by the Publications table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_publicationtypes_pubtypeid'::regclass)" digits="0" id="0" name="pubtypeid" nullable="false" remarks="An arbitrary Publication Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="pubtypeid" foreignKey="pub_pty" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="pubtype" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="pubtypeid" sequenceNumberInPK="1"/>
         <index name="publicationtypes_pkey" unique="true">
            <column ascending="true" name="pubtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="pubtsv" numRows="0" remarks="" schema="ndb" type="VIEW" viewSql=" SELECT pu.publicationid,&#10;    (((((setweight(to_tsvector(COALESCE(pu.articletitle, ''::text)), 'A'::&quot;char&quot;) || setweight(to_tsvector(COALESCE(pu.booktitle, ''::text)), 'A'::&quot;char&quot;)) || setweight(to_tsvector(COALESCE(pu.journal, ''::text)), 'B'::&quot;char&quot;)) || setweight(to_tsvector(COALESCE(pu.seriestitle, ''::text)), 'B'::&quot;char&quot;)) || setweight(to_tsvector(COALESCE(pu.volumetitle, ''::text)), 'B'::&quot;char&quot;)) || setweight(to_tsvector(COALESCE(pu.citation, ''::text)), 'C'::&quot;char&quot;)) AS pubtsv&#10;   FROM ndb.publications pu;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="publicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="pubtsv" nullable="true" remarks="" size="2147483647" type="tsvector" typeCode="1111"/>
      </table>
      <table catalog="neotoma" name="radiocarbon" numRows="33576" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geochronid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="fk_geochrons_geochronid" implied="false" onDeleteCascade="true" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="radiocarbonmethodid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="radiocarbonmethodid" foreignKey="fk_radiocarbonmethodid" implied="false" onDeleteCascade="false" schema="ndb" table="radiocarbonmethods"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="percentc" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="percentn" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="delta13c" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="delta15n" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="percentcollagen" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="reservoir" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="8" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="10" name="masscmg" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="11" name="cnratio" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <primaryKey column="geochronid" sequenceNumberInPK="1"/>
         <index name="radiocarbon_pkey" unique="true">
            <column ascending="true" name="geochronid"/>
         </index>
         <index name="radiocarbon_unique" unique="true">
            <column ascending="true" name="geochronid"/>
         </index>
      </table>
      <table catalog="neotoma" name="radiocarboncalibration" numRows="45101" remarks="Radiocarbon calibration table. This table is intended for quick calibration of age-model radiocarbon dates. These calibrated dates are for perusal and data exploration only. Please see Section 2.5 for a full discussion." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="c14yrbp" nullable="false" remarks="Age in radiocarbon years BP. The range is -100 to 45,000 by 1-year increments." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calyrbp" nullable="false" remarks="Age in calibrated radiocarbon years BP." size="10" type="int4" typeCode="4"/>
         <primaryKey column="c14yrbp" sequenceNumberInPK="1"/>
         <index name="radiocarboncalibration_pkey" unique="true">
            <column ascending="true" name="c14yrbp"/>
         </index>
      </table>
      <table catalog="neotoma" name="radiocarbonmethods" numRows="5" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_radiocarbonmethods_radiocarbonmethodid'::regclass)" digits="0" id="0" name="radiocarbonmethodid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="radiocarbonmethodid" foreignKey="fk_radiocarbonmethodid" implied="false" onDeleteCascade="false" schema="ndb" table="radiocarbon"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="radiocarbonmethod" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="radiocarbonmethodid" sequenceNumberInPK="1"/>
         <index name="radiocarbonmethods_pkey" unique="true">
            <column ascending="true" name="radiocarbonmethodid"/>
         </index>
      </table>
      <table catalog="neotoma" name="relativeagepublications" numRows="115" remarks="This table stores Publications in which Relative Ages are reported for CollectionUnits." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="relativeageid" nullable="false" remarks="Relative Ages identification number. Field links to the RelativeAges table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="relativeageid" foreignKey="fk_relativeagepublications_relativeages" implied="false" onDeleteCascade="true" schema="ndb" table="relativeages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="publicationid" nullable="false" remarks="Publication identification number. Field links to Publications table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_relativeagepublications_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="relativeageid" sequenceNumberInPK="1"/>
         <primaryKey column="publicationid" sequenceNumberInPK="2"/>
         <index name="relativeagepublications_pkey" unique="true">
            <column ascending="true" name="relativeageid"/>
            <column ascending="true" name="publicationid"/>
         </index>
         <index name="ix_relativeageid_relativeagepublications" unique="false">
            <column ascending="true" name="relativeageid"/>
         </index>
      </table>
      <table catalog="neotoma" name="relativeages" numRows="813" remarks="Lookup table of RelativeAges. Table is referenced by the RelativeChronology table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_relativeages_relativeageid'::regclass)" digits="0" id="0" name="relativeageid" nullable="false" remarks="An arbitrary Relative Age identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="relativeageid" foreignKey="fk_relativeagepublications_relativeages" implied="false" onDeleteCascade="true" schema="ndb" table="relativeagepublications"/>
            <child catalog="neotoma" column="relativeageid" foreignKey="fk_relativechronology_relativeages" implied="false" onDeleteCascade="true" schema="ndb" table="relativechronology"/>
            <child catalog="neotoma" column="rockageid" foreignKey="speleothems_rockageid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="relativeageunitid" nullable="false" remarks="Relative Age Unit (e.g. «Marine isotope stage», «Land mammal age»). Field links to the RelativeAgeUnits lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="relativeageunitid" foreignKey="fk_relativeages_relativeageunits" implied="false" onDeleteCascade="true" schema="ndb" table="relativeageunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="relativeagescaleid" nullable="false" remarks="Relative Age Scale (e.g. «Geologic time scale», «Marine isotope stages»). Field links to the RelativeAgeScales lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="relativeagescaleid" foreignKey="fk_relativeages_relativeagescales" implied="false" onDeleteCascade="true" schema="ndb" table="relativeagescales"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="relativeage" nullable="false" remarks="Relative Age (e.g. «Rancholabrean», a land mammal age; «MIS 11», marine isotope stage 11)." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="c14ageyounger" nullable="true" remarks="Younger age of the Relative Age unit in 14C yr B.P. Applies only to Relative Age units within the radiocarbon time scale." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="c14ageolder" nullable="true" remarks="Older age of the Relative Age unit in 14C yr B.P. Applies only to Relative Age units within the radiocarbon time scale." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="calageyounger" nullable="true" remarks="Younger age of the Relative Age unit in calendar years." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="calageolder" nullable="true" remarks="Older age of the Relative age unit in calendar years." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="notes" nullable="true" remarks="Free form notes or comments about Relative Age unit." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="9" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="relativeageid" sequenceNumberInPK="1"/>
         <index name="relativeages_pkey" unique="true">
            <column ascending="true" name="relativeageid"/>
         </index>
         <index name="ix_relativeagescaleid_relativeages" unique="false">
            <column ascending="true" name="relativeagescaleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="relativeagescales" numRows="9" remarks="Lookup table of Relative Age Scales. Table is referenced by the RelativeAges table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_relativeagescales_relativeagescaleid'::regclass)" digits="0" id="0" name="relativeagescaleid" nullable="false" remarks="An arbitrary Relative Age Scale identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="relativeagescaleid" foreignKey="fk_relativeages_relativeagescales" implied="false" onDeleteCascade="true" schema="ndb" table="relativeages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="relativeagescale" nullable="false" remarks="Relative Age Scale. The table stores the following Relative Age Scales:&#10;Archaeological time scale&#10;Geologic time scale&#10;Geomagnetic polarity time scale&#10;Marine isotope stages&#10;North American land mammal ages&#10;Quaternary event classification" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="relativeagescaleid" sequenceNumberInPK="1"/>
         <index name="relativeagescales_pkey" unique="true">
            <column ascending="true" name="relativeagescaleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="relativeageunits" numRows="12" remarks="Lookup table of RelativeAgeUnits. Table is referenced by the RelativeAges table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_relativeageunits_relativeageunitid'::regclass)" digits="0" id="0" name="relativeageunitid" nullable="false" remarks="An arbitrary Relative Age Unit identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="relativeageunitid" foreignKey="fk_relativeages_relativeageunits" implied="false" onDeleteCascade="true" schema="ndb" table="relativeages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="relativeageunit" nullable="false" remarks="Relative Age Unit. Below are the Relative Age Units for the «Geologic time scale» with an example Relative Age." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="relativeageunitid" sequenceNumberInPK="1"/>
         <index name="relativeageunits_pkey" unique="true">
            <column ascending="true" name="relativeageunitid"/>
         </index>
      </table>
      <table catalog="neotoma" name="relativechronology" numRows="4631" remarks="This table stores relative chronologic data. Relative Ages are assigned to Analysis Units, The Relative Age data along with any possible Geochronology and Tephrachronology data are used to create a chronology." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_relativechronology_relativechronid'::regclass)" digits="0" id="0" name="relativechronid" nullable="false" remarks="An arbitrary Relative Chronology identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="analysisunitid" nullable="false" remarks="Analysis Unit identification number. Field links to the AnalysisUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_relativechronology_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="relativeageid" nullable="false" remarks="Relative Age identification number. Field links to the RelativeAges lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="relativeageid" foreignKey="fk_relativechronology_relativeages" implied="false" onDeleteCascade="true" schema="ndb" table="relativeages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="Free form notes or comments." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="chroncontrolid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chroncontrolid" foreignKey="rc_ccid" implied="false" onDeleteCascade="true" schema="ndb" table="chroncontrols"/>
         </column>
         <primaryKey column="relativechronid" sequenceNumberInPK="1"/>
         <index name="relativechronology_pkey" unique="true">
            <column ascending="true" name="relativechronid"/>
         </index>
         <index name="ix_analysisunitid_relativechronology" unique="false">
            <column ascending="true" name="analysisunitid"/>
         </index>
         <index name="ix_relativeageid_relativechronology" unique="false">
            <column ascending="true" name="relativeageid"/>
         </index>
      </table>
      <table catalog="neotoma" name="repositoryinstitutions" numRows="393" remarks="A lookup table of institutions that are repositories for fossil specimens. Table is referenced by the RepositorySpecimens table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_repositoryinstitutions_repositoryid'::regclass)" digits="0" id="0" name="repositoryid" nullable="false" remarks="An arbitrary Repository identification number. Repositories include museums, university departments, and various governmental agencies." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="repositoryid" foreignKey="fk_repositoryspecimens_repositoryinstitutions" implied="false" onDeleteCascade="false" schema="ndb" table="repositoryspecimens"/>
            <child catalog="neotoma" column="repositoryid" foreignKey="fk_specimens_repositoryinstitutions" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="acronym" nullable="false" remarks="A unique acronym for the repository. Many repositories have well-established acronyms (e.g. AMNH = American Museum of Natural History); however, there is no official list. Various acronyms have been used for some institutions, and in some cases the same acronym has been used for different institutions. Consequently, the database acronym may differ from the acronym used in some publications. For example, «CMNH» has been used for the Carnegie Museum of Natural History, the Cleveland Museum of Natural History, and the Cincinnati Museum of Natural History. In Neotoma, two of these institutions were assigned different acronyms, ones that have been used for them in other publications: CM – Carnegie Museum of Natural History, CLM – Cleveland Museum of Natural History." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="repository" nullable="false" remarks="The full name of the repository." size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="Free form notes or comments about the repository, especially notes about name changes, closures, and specimen transfers. In some cases, it is known that the specimens were transferred, but their current disposition may be uncertain." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="repositoryid" sequenceNumberInPK="1"/>
         <index name="repositoryinstitutions_pkey" unique="true">
            <column ascending="true" name="repositoryid"/>
         </index>
      </table>
      <table catalog="neotoma" name="repositoryspecimens" numRows="7301" remarks="This table lists the repositories in which fossil specimens have been accessioned or reposited. The inventory in Neotoma is by Dataset, which is the collection of specimens from a Collection Unit. Occasionally, specimens from a single Collection Unit have been reposited at different institutions, in which case multiple records for that Dataset occur in the table." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasetid" nullable="false" remarks="Dataset identification number. Field links to the Datasets table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_repositoryspecimens_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="repositoryid" nullable="false" remarks="Repository identification number. Field links to the RepositoryInstitutions lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="repositoryid" foreignKey="fk_repositoryspecimens_repositoryinstitutions" implied="false" onDeleteCascade="false" schema="ndb" table="repositoryinstitutions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="notes" nullable="true" remarks="Free form notes or comments about the disposition of the specimens." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasetid" sequenceNumberInPK="1"/>
         <primaryKey column="repositoryid" sequenceNumberInPK="2"/>
         <index name="repositoryspecimens_pkey" unique="true">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="repositoryid"/>
         </index>
         <index name="ix_datasetid_repositoryspecimens" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
      </table>
      <table catalog="neotoma" name="rocktypes" numRows="206" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_rocktypes_rocktypeid'::regclass)" digits="0" id="0" name="rocktypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="substrateid" foreignKey="fk_collectionunits_rocktypes" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
            <child catalog="neotoma" column="higherrocktypeid" foreignKey="fk_higherrocktypeid" implied="false" onDeleteCascade="false" schema="ndb" table="rocktypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="rocktype" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="higherrocktypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="rocktypeid" foreignKey="fk_higherrocktypeid" implied="false" onDeleteCascade="false" schema="ndb" table="rocktypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="rocktypeid" sequenceNumberInPK="1"/>
         <index name="rocktypes_pkey" unique="true">
            <column ascending="true" name="rocktypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="sampleages" numRows="2535327" remarks="This table stores sample ages. Ages are assigned to a Chronology. Because there may be more than one Chronology for a Collection Unit, samples may be assigned different ages for different Chronologies. A simple example is one sample age in radiocarbon years and another in calibrated radiocarbon years. The age units are an attribute of the Chronology." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_sampleages_sampleageid'::regclass)" digits="0" id="0" name="sampleageid" nullable="false" remarks="An arbitrary Sample Age identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="sampleageid" foreignKey="fk_aggregatesampleages_sampleages" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatesampleages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sampleid" nullable="false" remarks="Sample identification number. Field links to the Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="fk_sampleages_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="chronologyid" nullable="false" remarks="Chronology identification number. Field links to the Chronologies table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="chronologyid" foreignKey="fk_sampleages_chronologies" implied="false" onDeleteCascade="true" schema="ndb" table="chronologies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="age" nullable="true" remarks="Age of the sample" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="ageyounger" nullable="true" remarks="Younger error estimate of the age. The definition of this estimate is an attribute of the Chronology. Many ages do not have explicit error estimates assigned." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="ageolder" nullable="true" remarks="Older error estimate of the age." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="6" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="sampleageid" sequenceNumberInPK="1"/>
         <index name="sampleages_pkey" unique="true">
            <column ascending="true" name="sampleageid"/>
         </index>
         <index name="ix_chronologyid_sampleages" unique="false">
            <column ascending="true" name="chronologyid"/>
         </index>
         <index name="ix_sampleid_sampleages" unique="false">
            <column ascending="true" name="sampleid"/>
         </index>
         <index name="smpage_idx" unique="false">
            <column ascending="true" name="age"/>
         </index>
         <index name="smpageold_idx" unique="false">
            <column ascending="true" name="ageolder"/>
         </index>
         <index name="smpageyoung_idx" unique="false">
            <column ascending="true" name="ageyounger"/>
         </index>
      </table>
      <table catalog="neotoma" name="sampleanalysts" numRows="332683" remarks="This table lists the Sample Analysts." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_sampleanalysts_analystid'::regclass)" digits="0" id="0" name="analystid" nullable="false" remarks="An arbitrary Sample Analyst identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sampleid" nullable="false" remarks="Sample identification number. Field links to the Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="fk_sampleanalysts_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactid" nullable="false" remarks="Contact identification number. Field links to the Contacts table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_sampleanalysts_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="analystorder" nullable="false" remarks="Order in which Sample Analysts are listed if more than one (rare)." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="analystid" sequenceNumberInPK="1"/>
         <index name="sampleanalysts_pkey" unique="true">
            <column ascending="true" name="analystid"/>
         </index>
         <index name="ix_contactid_sampleanalysts" unique="false">
            <column ascending="true" name="contactid"/>
         </index>
         <index name="ix_sampleid_sampleanalysts" unique="false">
            <column ascending="true" name="sampleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="samplekeywords" numRows="19040" remarks="This table lists the Sample Analysts." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="sampleid" nullable="false" remarks="Sample identification number. Field links to the Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="fk_samplekeywords_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="keywordid" nullable="false" remarks="Keyword identification number. Field links to the Keywords lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="keywordid" foreignKey="fk_samplekeywords_keywords" implied="false" onDeleteCascade="false" schema="ndb" table="keywords"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="sampleid" sequenceNumberInPK="1"/>
         <primaryKey column="keywordid" sequenceNumberInPK="2"/>
         <index name="samplekeywords_pkey" unique="true">
            <column ascending="true" name="sampleid"/>
            <column ascending="true" name="keywordid"/>
         </index>
         <index name="ix_keywordid_samplekeywords" unique="false">
            <column ascending="true" name="keywordid"/>
         </index>
         <index name="ix_sampleid_samplekeywords" unique="false">
            <column ascending="true" name="sampleid"/>
         </index>
      </table>
      <table catalog="neotoma" name="samples" numRows="1012006" remarks="This table stores sample data. Samples belong to Analysis Units, which belong to Collection Units, which belong to Sites. Samples also belong to a Dataset, and the Dataset determines the type of sample. Thus, there could be two different samples from the same Analysis Unit, one belonging to a pollen dataset, the other to a plant macrofossil dataset." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_samples_sampleid'::regclass)" digits="0" id="0" name="sampleid" nullable="false" remarks="An arbitrary Sample identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="sampleid" foreignKey="fk_aggregatesamples_samples" implied="false" onDeleteCascade="true" schema="ndb" table="aggregatesamples"/>
            <child catalog="neotoma" column="sampleid" foreignKey="fk_data_samples" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
            <child catalog="neotoma" column="sampleid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dsdatasample"/>
            <child catalog="neotoma" column="sampleid" foreignKey="fk_geochronology_samples" implied="false" onDeleteCascade="true" schema="ndb" table="geochronology"/>
            <child catalog="neotoma" column="sampleid" foreignKey="fk_sampleages_samples" implied="false" onDeleteCascade="true" schema="ndb" table="sampleages"/>
            <child catalog="neotoma" column="sampleid" foreignKey="fk_sampleanalysts_samples" implied="false" onDeleteCascade="true" schema="ndb" table="sampleanalysts"/>
            <child catalog="neotoma" column="sampleid" foreignKey="fk_samplekeywords_samples" implied="false" onDeleteCascade="true" schema="ndb" table="samplekeywords"/>
            <child catalog="neotoma" column="sampleid" foreignKey="sd_smpid" implied="false" onDeleteCascade="true" schema="ndb" table="specimendates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="analysisunitid" nullable="false" remarks="Analysis Unit identification number. Field links to the AnalysisUnits table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_samples_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="datasetid" nullable="false" remarks="Dataset identification number. Field links to the Datasets table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_samples_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="samplename" nullable="true" remarks="Sample name if any." size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="analysisdate" nullable="true" remarks="Date of analysis." size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="labnumber" nullable="true" remarks="Laboratory number for the sample. A special case regards geochronologic samples, for which the LabNumber is the number, if any, assigned by the submitter, not the number assigned by the radiocarbon laboratory, which is in the Geochronology table." size="40" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="preparationmethod" nullable="true" remarks="Description, notes, or comments on preparation methods. For faunal samples, notes on screening methods or screen size are stored here." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="notes" nullable="true" remarks="Free form note or comments about the sample." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="8" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="sampledate" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="taxonid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_samples_taxa" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <primaryKey column="sampleid" sequenceNumberInPK="1"/>
         <index name="samples_pkey" unique="true">
            <column ascending="true" name="sampleid"/>
         </index>
         <index name="idx_samples_datasetid_sampleid" unique="false">
            <column ascending="true" name="datasetid"/>
            <column ascending="true" name="sampleid"/>
         </index>
         <index name="ix_analysisunitid_samples" unique="false">
            <column ascending="true" name="analysisunitid"/>
         </index>
         <index name="ix_datasetid_samples" unique="false">
            <column ascending="true" name="datasetid"/>
         </index>
         <index name="sample_taxon_idx" unique="false">
            <column ascending="true" name="taxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="sitegeopolitical" numRows="67881" remarks="This table lists the GeoPolitical units in which sites occur." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_sitegeopolitical_sitegeopoliticalid'::regclass)" digits="0" id="0" name="sitegeopoliticalid" nullable="false" remarks="An arbitrary Site GeoPolitical identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="siteid" nullable="false" remarks="Site identification number. Field links to the Sites table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="fk_sitegeopolitical_sites" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="geopoliticalid" nullable="false" remarks="GeoPolitical identification number. Field links to the GeoPoliticalUnits lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geopoliticalid" foreignKey="fk_sitegeopolitical_geopoliticalunits" implied="false" onDeleteCascade="false" schema="ndb" table="geopoliticalunits"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="objectid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="objectid" foreignKey="fk_objectid" implied="false" onDeleteCascade="false" schema="ap" table="gadm"/>
         </column>
         <primaryKey column="sitegeopoliticalid" sequenceNumberInPK="1"/>
         <index name="sitegeopolitical_pkey" unique="true">
            <column ascending="true" name="sitegeopoliticalid"/>
         </index>
         <index name="ix_geopoliticalid_sitegeopolitical" unique="false">
            <column ascending="true" name="geopoliticalid"/>
         </index>
         <index name="ix_siteid_sitegeopolitical" unique="false">
            <column ascending="true" name="siteid"/>
         </index>
      </table>
      <table catalog="neotoma" name="siteimages" numRows="9" remarks="This table stores hyperlinks to jpeg images of sites." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_siteimages_siteimageid'::regclass)" digits="0" id="0" name="siteimageid" nullable="false" remarks="An arbitrary Site Image identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="siteid" nullable="true" remarks="Site identification number. Field links to the Sites table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="fk_siteimages_sites" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contactid" nullable="true" remarks="Contact identification number for image attribution." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_siteimages_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="caption" nullable="true" remarks="Caption for the image." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="credit" nullable="true" remarks="Credit for the image. If null, the credit is formed from the ContactID." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="date" nullable="true" remarks="Date of photograph or image." size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="siteimage" nullable="true" remarks="Hyperlink to a URL for the image." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="7" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="siteimageid" sequenceNumberInPK="1"/>
         <index name="siteimages_pkey" unique="true">
            <column ascending="true" name="siteimageid"/>
         </index>
         <index name="ix_siteid_siteimages" unique="false">
            <column ascending="true" name="siteid"/>
         </index>
      </table>
      <table catalog="neotoma" name="sitelandusecover" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="siteid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="sitelandusecover_siteid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="landusecovertypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="vegetationcovertypeid" foreignKey="sitelandusecover_landusecovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="vegetationcovertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="landusecoverpercent" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="landusecovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="sites" numRows="48621" remarks="The Sites table stores information about sites or localities, including name, geographic coordinates, and description. Sites generally have an areal extent and can be circumscribed by a latitude-longitude box. However, site data ingested from legacy databases have included only point locations. The lat-long box can be used either to circumscribe the aerial extent of a site or to provide purposeful imprecision to the site location. Site location may be imprecise because the original description was vague, e.g. «a gravel bar 5 miles east of town», or because the investigators, land owner, or land management agency may not want the exact location made public, perhaps to prevent looting and vandalism. In the first case, the lat-long box can be made sufficiently large to encompass the true location and in the second case to prevent exact location." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_sites_siteid'::regclass)" digits="0" id="0" name="siteid" nullable="false" remarks="An arbitrary Site identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="siteid" foreignKey="fk_collectionunits_sites" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
            <child catalog="neotoma" column="siteid" foreignKey="fk_lakeparameters_sites" implied="false" onDeleteCascade="true" schema="ndb" table="lakeparameters"/>
            <child catalog="neotoma" column="siteid" foreignKey="fk_sitegeopolitical_sites" implied="false" onDeleteCascade="true" schema="ndb" table="sitegeopolitical"/>
            <child catalog="neotoma" column="siteid" foreignKey="fk_siteimages_sites" implied="false" onDeleteCascade="true" schema="ndb" table="siteimages"/>
            <child catalog="neotoma" column="siteid" foreignKey="sitelandusecover_siteid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sitelandusecover"/>
            <child catalog="neotoma" column="siteid" foreignKey="sitevegetationcover_siteid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sitevegetationcover"/>
            <child catalog="neotoma" column="siteid" foreignKey="speleothems_siteid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sitename" nullable="true" remarks="Name of the site. Alternative names, including archaeological site numbers, are placed in square brackets, for example:&#10;New Paris #4 [Lloyd's Rock Hole]&#10;Modoc Rock Shelter [11RA501]&#10;A search of the SiteName field for any of the alternative names or for the archaeological site number will find the site. Some archaeological sites are known only by their site number.&#10;Modifiers to site names are placed in parentheses. Authors are added for generic sites names, especially for surface samples, that are duplicated in the database, for example:&#10;Site 1 (Heusser 1978)&#10;Site 1 (Delcourt et al. 1983)&#10;Site 1 (Elliot-Fisk et al. 1982)&#10;Site 1 (Whitehead and Jackson 1990)&#10;For actual site names duplicated in the database, the name is followed by the 2-letter country code and state or province, for example:&#10;Silver Lake (US:Minnesota)&#10;Silver Lake (CA:Nova Scotia)&#10;Silver Lake (US:Ohio)&#10;Silver Lake (US:Pennsylvania)" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="longitudeeast" nullable="true" remarks="East bounding longitude for a site." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="latitudenorth" nullable="true" remarks="North bounding latitude for a site." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="longitudewest" nullable="true" remarks="West bounding longitude for a site." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="latitudesouth" nullable="true" remarks="South bounding latitude for a site." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="altitude" nullable="true" remarks="Altitude of a site in meters." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="area" nullable="true" remarks="Area of a site in hectares." size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="sitedescription" nullable="true" remarks="Free form description of a site, including such information as physiography and vegetation around the site." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="Free form notes or comments about the site." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="10" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="geog" nullable="true" remarks="" size="2147483647" type="geography" typeCode="1111"/>
         <primaryKey column="siteid" sequenceNumberInPK="1"/>
         <index name="sites_pkey" unique="true">
            <column ascending="true" name="siteid"/>
         </index>
         <index name="ix_siteid_sites" unique="false">
            <column ascending="true" name="siteid"/>
         </index>
         <index name="sitegeog_gix" unique="false">
            <column ascending="true" name="geog"/>
         </index>
         <index name="sitenames_idx" unique="false">
            <column ascending="true" name="sitename"/>
         </index>
      </table>
      <table catalog="neotoma" name="sitestemp" numRows="18853" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="siteid" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sitename" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="longitudeeast" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="latitudenorth" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="longitudewest" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="latitudesouth" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="altitude" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="area" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="sitedescription" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="10" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="geog" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="siteid" sequenceNumberInPK="1"/>
         <index name="sitestemp_pkey" unique="true">
            <column ascending="true" name="siteid"/>
         </index>
      </table>
      <table catalog="neotoma" name="sitevegetationcover" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="siteid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="sitevegetationcover_siteid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="vegetationcovertypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="vegetationcovertypeid" foreignKey="sitevegetationcover_vegetationcovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="vegetationcovertypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="vegetationcoverpercent" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="vegetationcovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table catalog="neotoma" name="specimendates" numRows="2666" remarks="This table enables queries for dated specimens of individual taxa. Although the MaterialDated field in the Geochronology table may list the taxa dated, this protocol is not enforced, and the field is not linked to the taxa table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_specimendates_specimendateid'::regclass)" digits="0" id="0" name="specimendateid" nullable="false" remarks="An arbitrary specimen date ID" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="specimendateid" foreignKey="fk_specimendatescal_specimendates" implied="false" onDeleteCascade="true" schema="ndb" table="specimendatescal"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="geochronid" nullable="false" remarks="Geochronologic identification number. Field links to the Geochronology table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="sd_gcid" implied="false" onDeleteCascade="true" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="taxonid" nullable="false" remarks="Accepted name in Neotoma. Field links to Taxa table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="sd_txid" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="fractionid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="fractionid" foreignKey="sd_fcid" implied="false" onDeleteCascade="false" schema="ndb" table="fractiondated"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="sampleid" nullable="false" remarks="Sample ID number. Field links to the Samples table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sampleid" foreignKey="sd_smpid" implied="false" onDeleteCascade="true" schema="ndb" table="samples"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="notes" nullable="true" remarks="Free form notes or comments about dated specimens." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="elementtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtypeid" foreignKey="sd_etyid" implied="false" onDeleteCascade="false" schema="ndb" table="elementtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="7" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="specimenid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="specimenid" foreignKey="fk_specimendates_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <primaryKey column="specimendateid" sequenceNumberInPK="1"/>
         <index name="specimendates_pkey" unique="true">
            <column ascending="true" name="specimendateid"/>
         </index>
         <index name="ix_sampleid_specimendates" unique="false">
            <column ascending="true" name="sampleid"/>
         </index>
         <index name="ix_taxonid_specimendates" unique="false">
            <column ascending="true" name="taxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="specimendatescal" numRows="2609" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_specimendatescal_specimendatecalid'::regclass)" digits="0" id="0" name="specimendatecalid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="specimendateid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="specimendateid" foreignKey="fk_specimendatescal_specimendates" implied="false" onDeleteCascade="true" schema="ndb" table="specimendates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="2" name="calage" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="calageolder" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="calageyounger" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="calibrationcurveid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="calibrationcurveid" foreignKey="fk_specimendatescal_calibrationcurves" implied="false" onDeleteCascade="true" schema="ndb" table="calibrationcurves"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="calibrationprogramid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="calibrationprogramid" foreignKey="fk_specimendatescal_calibrationprograms" implied="false" onDeleteCascade="true" schema="ndb" table="calibrationprograms"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="datecalibrated" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="8" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="specimendatecalid" sequenceNumberInPK="1"/>
         <index name="specimendatescal_pkey" unique="true">
            <column ascending="true" name="specimendatecalid"/>
         </index>
      </table>
      <table catalog="neotoma" name="specimendomesticstatustypes" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_specimendomesticstatustypes_domesticstatusid'::regclass)" digits="0" id="0" name="domesticstatusid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="domesticstatusid" foreignKey="fk_specimens_specimendomesticstatus" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="domesticstatus" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="domesticstatusid" sequenceNumberInPK="1"/>
         <index name="specimendomesticstatustypes_pkey" unique="true">
            <column ascending="true" name="domesticstatusid"/>
         </index>
      </table>
      <table catalog="neotoma" name="specimengenbank" numRows="3" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="specimenid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="specimenid" foreignKey="fk_specimengenbank_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="genbanknr" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <primaryKey column="specimenid" sequenceNumberInPK="1"/>
         <primaryKey column="genbanknr" sequenceNumberInPK="2"/>
         <index name="specimengenbank_pkey" unique="true">
            <column ascending="true" name="specimenid"/>
            <column ascending="true" name="genbanknr"/>
         </index>
      </table>
      <table catalog="neotoma" name="specimens" numRows="3579" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_specimens_specimenid'::regclass)" digits="0" id="0" name="specimenid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="specimenid" foreignKey="fk_isospecimendata_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="isospecimendata"/>
            <child catalog="neotoma" column="specimenid" foreignKey="fk_specimendates_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimendates"/>
            <child catalog="neotoma" column="specimenid" foreignKey="fk_specimengenbank_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimengenbank"/>
            <child catalog="neotoma" column="specimenid" foreignKey="fk_specimentaphonomy_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimentaphonomy"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_specimens_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="elementtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtypeid" foreignKey="fk_specimens_elementtypes" implied="false" onDeleteCascade="true" schema="ndb" table="elementtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="symmetryid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="symmetryid" foreignKey="fk_specimens_elementsymmetries" implied="false" onDeleteCascade="false" schema="ndb" table="elementsymmetries"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="portionid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="portionid" foreignKey="fk_specimens_elementportions" implied="false" onDeleteCascade="false" schema="ndb" table="elementportions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="maturityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="maturityid" foreignKey="fk_specimens_elementmaturities" implied="false" onDeleteCascade="false" schema="ndb" table="elementmaturities"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="sexid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="sexid" foreignKey="fk_specimens_specimensex" implied="false" onDeleteCascade="true" schema="ndb" table="specimensextypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="domesticstatusid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="domesticstatusid" foreignKey="fk_specimens_specimendomesticstatus" implied="false" onDeleteCascade="true" schema="ndb" table="specimendomesticstatustypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="preservative" nullable="true" remarks="" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="9" name="nisp" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="repositoryid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="repositoryid" foreignKey="fk_specimens_repositoryinstitutions" implied="false" onDeleteCascade="true" schema="ndb" table="repositoryinstitutions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="specimennr" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="fieldnr" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="arctosnr" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="15" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="specimenid" sequenceNumberInPK="1"/>
         <index name="specimens_pkey" unique="true">
            <column ascending="true" name="specimenid"/>
         </index>
      </table>
      <table catalog="neotoma" name="specimensextypes" numRows="3" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_specimensextypes_sexid'::regclass)" digits="0" id="0" name="sexid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="sexid" foreignKey="fk_specimens_specimensex" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sex" nullable="false" remarks="" size="24" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="sexid" sequenceNumberInPK="1"/>
         <index name="specimensextypes_pkey" unique="true">
            <column ascending="true" name="sexid"/>
         </index>
      </table>
      <table catalog="neotoma" name="specimentaphonomy" numRows="452" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="specimenid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="specimenid" foreignKey="fk_specimentaphonomy_specimens" implied="false" onDeleteCascade="true" schema="ndb" table="specimens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taphonomictypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taphonomictypeid" foreignKey="fk_specimentaphonomy_taphonomictypes" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomictypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="specimenid" sequenceNumberInPK="1"/>
         <primaryKey column="taphonomictypeid" sequenceNumberInPK="2"/>
         <index name="specimentaphonomy_pkey" unique="true">
            <column ascending="true" name="specimenid"/>
            <column ascending="true" name="taphonomictypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="speleothemcollectionunits" numRows="847" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="entityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="entityid" foreignKey="speleothemcollectionunits_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collectionunitid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="collectionunitid" foreignKey="speleothemcollectionunits_collectionunitid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="collectionunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="persistid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="unique_collectionunitid" unique="true">
            <column ascending="true" name="collectionunitid"/>
         </index>
      </table>
      <table catalog="neotoma" name="speleothemdriptypes" numRows="12" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.speleothemdriptypes_speleothemdriptypeid_seq'::regclass)" digits="0" id="0" name="speleothemdriptypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="speleothemdriptypeid" foreignKey="entitydripheight_speleothemdriptypeid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entitydripheight"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="speleothemdriptype" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="speleothemdriptypenotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="speleothemdriptypepublicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="speleothemdriptypes_speleothemdriptypepublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <primaryKey column="speleothemdriptypeid" sequenceNumberInPK="1"/>
         <index name="speleothemdriptypes_pkey" unique="true">
            <column ascending="true" name="speleothemdriptypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="speleothementitystatuses" numRows="8" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.speleothementitystatuses_entitystatusid_seq'::regclass)" digits="0" id="0" name="entitystatusid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="entitystatusid" foreignKey="entityrelationship_entitystatusid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entityrelationship"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entitystatus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="entitystatusid" sequenceNumberInPK="1"/>
         <index name="speleothementitystatuses_pkey" unique="true">
            <column ascending="true" name="entitystatusid"/>
         </index>
      </table>
      <table catalog="neotoma" name="speleothems" numRows="846" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="siteid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="siteid" foreignKey="speleothems_siteid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sites"/>
         </column>
         <column autoUpdated="true" defaultValue="nextval('ndb.speleothems_entityid_seq'::regclass)" digits="0" id="1" name="entityid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="entityid" foreignKey="entitycovers_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entitycovers"/>
            <child catalog="neotoma" column="entityid" foreignKey="entitydripheight_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entitydripheight"/>
            <child catalog="neotoma" column="entityid" foreignKey="entitygeology_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entitygeology"/>
            <child catalog="neotoma" column="entityid" foreignKey="entitylandusecover_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entitylandusecover"/>
            <child catalog="neotoma" column="entityid" foreignKey="entityrelationship_entityid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entityrelationship"/>
            <child catalog="neotoma" column="referenceentityid" foreignKey="entityrelationship_referenceentityid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entityrelationship"/>
            <child catalog="neotoma" column="entityid" foreignKey="entitysamples_entityid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entitysamples"/>
            <child catalog="neotoma" column="entityid" foreignKey="entityvegetationcover_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entityvegetationcover"/>
            <child catalog="neotoma" column="entityid" foreignKey="externalspeleothemdata_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="externalspeleothemdata"/>
            <child catalog="neotoma" column="entityid" foreignKey="speleothemcollectionunits_entityid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="speleothemcollectionunits"/>
            <child catalog="neotoma" column="entityid" foreignKey="externalspeleothemdata_entityid_fkey" implied="false" onDeleteCascade="true" schema="public" table="externalspeleothemdata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entityname" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="monitoring" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="rockageid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="relativeageid" foreignKey="speleothems_rockageid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="relativeages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="8" id="5" name="entrancedistance" nullable="true" remarks="" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="entrancedistanceunits" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="speleothems_entrancedistanceunits_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="variableunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="speleothemtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="speleothemtypeid" foreignKey="speleothems_speleothemtypeid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothemtypes"/>
         </column>
         <primaryKey column="entityid" sequenceNumberInPK="1"/>
         <index name="speleothems_pkey" unique="true">
            <column ascending="true" name="entityid"/>
         </index>
      </table>
      <table catalog="neotoma" name="speleothemtypes" numRows="7" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.speleothemtypes_speleothemtypeid_seq'::regclass)" digits="0" id="0" name="speleothemtypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="speleothemtypeid" foreignKey="speleothems_speleothemtypeid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="speleothemtype" nullable="true" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="speleothemtypenotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="speleothemtypepublicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="speleothemtypes_speleothemtypepublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <primaryKey column="speleothemtypeid" sequenceNumberInPK="1"/>
         <index name="speleothemtypes_pkey" unique="true">
            <column ascending="true" name="speleothemtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="summarydatataphonomy" numRows="43574" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="dataid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="fk_summarydatataphonomy_data" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taphonomictypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taphonomictypeid" foreignKey="fk_summarydatataphonomy_taphonomictypes" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomictypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="dataid" sequenceNumberInPK="1"/>
         <primaryKey column="taphonomictypeid" sequenceNumberInPK="2"/>
         <index name="summarydatataphonomy_pkey" unique="true">
            <column ascending="true" name="dataid"/>
            <column ascending="true" name="taphonomictypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="synonyms" numRows="2851" remarks="This table lists common synonyms for taxa in the Taxa table. No effort has been made to provide a complete taxonomic synonymy, but rather to list synonyms commonly used in recent literature.  This table is not the same as the Synonomy table, also present in Neotoma, which links a specific synonymy to a dataset" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_synonyms_synonymid'::regclass)" digits="0" id="0" name="synonymid" nullable="false" remarks="An arbitrary synonym identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="invalidtaxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_synonyms_invalidtaxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="validtaxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_synonyms_validtaxa" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="synonymtypeid" nullable="true" remarks="Type of synonym. Field links to the SynonymTypes lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="synonymtypeid" foreignKey="fk_synonyms_synonymtypes" implied="false" onDeleteCascade="true" schema="ndb" table="synonymtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="synonymid" sequenceNumberInPK="1"/>
         <index name="synonyms_pkey" unique="true">
            <column ascending="true" name="synonymid"/>
         </index>
         <index name="ix_taxonid_synonyms" unique="false">
            <column ascending="true" name="validtaxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="synonymtypes" numRows="20" remarks="Lookup table of Synonym Types. Table is referenced by the Synonyms table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_synonymtypes_synonymtypeid'::regclass)" digits="0" id="0" name="synonymtypeid" nullable="false" remarks="An arbitrary Synonym Type identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="synonymtypeid" foreignKey="fk_synonyms_synonymtypes" implied="false" onDeleteCascade="true" schema="ndb" table="synonyms"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="synonymtype" nullable="true" remarks="SynonymType: Synonym type. Below are some examples:&#10;*nomenclatural, homotypic, or objective synonym – a synonym that unambiguously refers to the same taxon, particularly one with the same description or type specimen. These synonyms are particularly common above the species level. For example, Gramineae = Poaceae, Clethrionomys gapperi = Myodes gapperi. The term «objective» is used in zoology, whereas «nomenclatural» or «homotypic» is used in botany.&#10;*taxonomic, heterotypic, or subjective synonym – a synonym typically based on a different type specimen, but which is now regarded as the same taxon as the senior synonym. For example, Iva ciliata = Iva annua. The term «subjective» is used in zoology, whereas «taxonomic» or «heterotypic» is used in botany.&#10;*genus merged into another genus – heterotypic or subjective synonym; a genus has been merged into another genus and has not been retained at a subgeneric rank. This synonymy may apply to either the generic or specific level, for example: Petalostemon = Dalea, Petalostemon purpureus = Dalea purpurea.&#10;*family merged into another family – heterotypic or subjective synonym; a family has been merged into another family and has not been retained at a subfamilial rank. For example, the Taxodiaceae has been merged with the Cupressaceae. This synonymy creates issues for data entry, because palynologically the Taxodiaceae sensu stricto is sometimes distinguishable from the Cupressaceae sensu stricto. If a pollen type was identified as «Cupressaceae/Taxodiaceae», then synonymizing to «Cupressaceae» results in no loss of information. However, synonymizing «Taxodiaceae» to «Cupressaceae» potentially does. In this case, consultation with the original literature or knowledge of the local biogeography may point to a logical name change that will retain the precision of the original identification. For example, in the southeastern United States, «Taxodiaceae» can be changed to «Taxodium» or «Taxodium-type» in most situations. If «Cupressaceae» was also identified, then it should be changed to «Cupressaceae undiff.» or possibly «Juniperus-type» if other Cupressaceae such as Chamaecyperus are unlikely.&#10;*rank change: species reduced to subspecific rank – heterotypic or subjective synonym; a species has been reduced to a subspecies or variety of another species. These synonyms may be treated in two different ways, depending on the situation or protocols of the contributing data cooperative: (1) The taxon is reduced to the subspecific rank (e.g. Alnus fruticosa = Alnus viridis subsp. fruticosa, Canis familiaris = Canis lupus familiaris), either because the fossils can be assigned to the subspecies based on morphology, as is likely the case with the domestic dog, Canis lupus familiaris, or because the subspecies can be assigned confidently based on biogeography. (2) The taxon is changed to the new taxon and the subspecific rank is dropped because the fossil is not distinguishable at the subspecific level. For example, Alnus rugosa = Alnus incana subsp. rugosa, but may simply be changed to Alnus incana because the pollen of A. incana subsp. rugosa and A. incana subsp. incana are indistinguishable morphologically.&#10;*rank change: genus reduced to subgenus – heterotypic or subjective synonym; a genus has been reduced to subgeneric rank in another family. At the generic level, this synonymy is clear from the naming conventions, e.g. Mictomys = Synaptomys (Mictomys); however, at the species level it is not, e.g. Mictomys borealis = Synaptomys borealis.&#10;*rank change: family reduced to subfamily – heterotypic or subjective synonym; a family has been reduced to subfamily rank in another family. By botanical convention the family name is retained, e.g. Pyrolaceae = Ericaceae subf. Monotropoideae; whereas by zoological convention it is not, e.g. Desmodontidae = Desmodontinae.&#10;*rank change: subspecific rank elevated to species – heterotypic or subjective synonym; a subspecies or variety has been raised to the species rank, e.g. Ephedra fragilis subsp. campylopoda = Ephedra foeminea.&#10;*rank change: subgeneric rank elevated to genus – heterotypic or subjective synonym; a subgenus or other subgeneric rank has been raised to the generic rank. At the subgeneric level, this synonymy is clear from the naming conventions, e.g. Potamogeton subg. Coleogeton = Stuckenia; however, at the species level it is not, e.g. Potamogeton pectinatus = Stuckenia pectinata.&#10;*rank change: subfamily elevated to family – heterotypic or subjective synonym; a subfamily has been raised to the family rank, e.g. Liliaceae subf. Amaryllidoideae = Amaryllidaceae, Pampatheriinae = Pampatheriidae.&#10;*rank elevated because of taxonomic uncertainty – because the precise taxonomic identification is uncertain, the rank has been raised to a level that includes the universe of possible taxa. A common cause of such uncertainty is taxonomic splitting subsequent to the original identification, in which case the originally identified taxon is now a much smaller group. For example, the genus Psoralea has been divided into several genera; the genus Psoralea still exists, but now includes a much smaller number of species. Consequently, in the database Psoralea has been synonymized with Fabaceae tribe Psoraleeae, which includes the former Psoralea sensu lato. A zoological example is Mustela sp. The genus Mustela formerly included the minks, which have now been separated into the genus Neovison. Consequently, Mustela sp. = Mustela/Neovison sp.&#10;*globally monospecific genus – although identified at the genus level, specimens assigned to this genus can be further assigned to the species level because the genus is monospecific.&#10;*globally monogeneric family – although identified at the family level, specimens assigned to this family can be further assigned to the genus level because the family is monogeneric." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="synonymtypeid" sequenceNumberInPK="1"/>
         <index name="synonymtypes_pkey" unique="true">
            <column ascending="true" name="synonymtypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="synonymy" numRows="41863" remarks="The synonymy table links dataset-level synonymies to particular publications or contacts.  This allows users to maintain the original taxonomic information within a table, but tie it to newer and more authoritative taxonomic information." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_synonymy_synonymyid'::regclass)" digits="0" id="0" name="synonymyid" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="datasetid" nullable="false" remarks="DatasetID from the Datasets table" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasetid" foreignKey="fk_synonymy_datasets" implied="false" onDeleteCascade="true" schema="ndb" table="datasets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="taxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_synonymy_taxa1" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="reftaxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_synonymy_taxa2" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="fromcontributor" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="publicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_synonymy_publications" implied="false" onDeleteCascade="true" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="contactid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_synonymy_contacts" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="datesynonymized" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="9" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="synonymyid" sequenceNumberInPK="1"/>
         <index name="synonymy_pkey" unique="true">
            <column ascending="true" name="synonymyid"/>
         </index>
      </table>
      <table catalog="neotoma" name="sysdiagrams" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="name" nullable="false" remarks="" size="2147483647" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="principal_id" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_sysdiagrams_diagram_id'::regclass)" digits="0" id="2" name="diagram_id" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="version" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="definition" nullable="true" remarks="" size="2147483647" type="bytea" typeCode="-2"/>
         <primaryKey column="diagram_id" sequenceNumberInPK="1"/>
         <index name="sysdiagrams_pkey" unique="true">
            <column ascending="true" name="diagram_id"/>
         </index>
      </table>
      <table catalog="neotoma" name="taphonomicsystems" numRows="9" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_taphonomicsystems_taphonomicsystemid'::regclass)" digits="0" id="0" name="taphonomicsystemid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="taphonomicsystemid" foreignKey="fk_taphonomicsystemsdatasettypes_taphonomicsystems" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomicsystemsdatasettypes"/>
            <child catalog="neotoma" column="taphonomicsystemid" foreignKey="fk_taphonomictypes_taphonomicsystems" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomictypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taphonomicsystem" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="3" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="taphonomicsystemid" sequenceNumberInPK="1"/>
         <index name="taphonomicsystems_pkey" unique="true">
            <column ascending="true" name="taphonomicsystemid"/>
         </index>
      </table>
      <table catalog="neotoma" name="taphonomicsystemsdatasettypes" numRows="11" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasettypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasettypeid" foreignKey="fk_taphonomicsystemsdatasettypes_taphonomicsystemsdatasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taphonomicsystemid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taphonomicsystemid" foreignKey="fk_taphonomicsystemsdatasettypes_taphonomicsystems" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomicsystems"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasettypeid" sequenceNumberInPK="1"/>
         <primaryKey column="taphonomicsystemid" sequenceNumberInPK="2"/>
         <index name="taphonomicsystemsdatasettypes_pkey" unique="true">
            <column ascending="true" name="datasettypeid"/>
            <column ascending="true" name="taphonomicsystemid"/>
         </index>
      </table>
      <table catalog="neotoma" name="taphonomictypes" numRows="81" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_taphonomictypes_taphonomictypeid'::regclass)" digits="0" id="0" name="taphonomictypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="taphonomictypeid" foreignKey="fk_specimentaphonomy_taphonomictypes" implied="false" onDeleteCascade="true" schema="ndb" table="specimentaphonomy"/>
            <child catalog="neotoma" column="taphonomictypeid" foreignKey="fk_summarydatataphonomy_taphonomictypes" implied="false" onDeleteCascade="true" schema="ndb" table="summarydatataphonomy"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taphonomicsystemid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taphonomicsystemid" foreignKey="fk_taphonomictypes_taphonomicsystems" implied="false" onDeleteCascade="true" schema="ndb" table="taphonomicsystems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="taphonomictype" nullable="false" remarks="" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="taphonomictypeid" sequenceNumberInPK="1"/>
         <index name="taphonomictypes_pkey" unique="true">
            <column ascending="true" name="taphonomictypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="taxa" numRows="60247" remarks="This table lists all taxa in the database. Most taxa are biological taxa; however, some are biometric measures and some are physical parameters." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_taxa_taxonid'::regclass)" digits="0" id="0" name="taxonid" nullable="false" remarks="An arbitrary Taxon identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="taxonid" foreignKey="fk_datasettaxonnotes_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="datasettaxonnotes"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_ecolgroups_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="ecolgroups"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_externaltaxa_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="externaltaxa"/>
            <child catalog="neotoma" column="affinityid" foreignKey="fk_formtaxa_taxa1" implied="false" onDeleteCascade="true" schema="ndb" table="formtaxa"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_formtaxa_taxa" implied="false" onDeleteCascade="false" schema="ndb" table="formtaxa"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_isostratdata_taxa" implied="false" onDeleteCascade="false" schema="ndb" table="isostratdata"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_samples_taxa" implied="false" onDeleteCascade="false" schema="ndb" table="samples"/>
            <child catalog="neotoma" column="taxonid" foreignKey="sd_txid" implied="false" onDeleteCascade="false" schema="ndb" table="specimendates"/>
            <child catalog="neotoma" column="invalidtaxonid" foreignKey="fk_synonyms_invalidtaxa" implied="false" onDeleteCascade="true" schema="ndb" table="synonyms"/>
            <child catalog="neotoma" column="validtaxonid" foreignKey="fk_synonyms_validtaxa" implied="false" onDeleteCascade="false" schema="ndb" table="synonyms"/>
            <child catalog="neotoma" column="reftaxonid" foreignKey="fk_synonymy_taxa2" implied="false" onDeleteCascade="false" schema="ndb" table="synonymy"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_synonymy_taxa1" implied="false" onDeleteCascade="true" schema="ndb" table="synonymy"/>
            <child catalog="neotoma" column="highertaxonid" foreignKey="fk_highertaxonid" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
            <child catalog="neotoma" column="highertaxonid" foreignKey="fk_taxaalthierarchy_taxa1" implied="false" onDeleteCascade="false" schema="ndb" table="taxaalthierarchy"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_taxaalthierarchy_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxaalthierarchy"/>
            <child catalog="neotoma" column="taxonid" foreignKey="taxonpaths_taxonid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="taxonpaths"/>
            <child catalog="neotoma" column="taxonid" foreignKey="fk_variables_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxoncode" nullable="false" remarks="A code for the Taxon. These codes are useful for other software or output for which the complete name is too long. Because of the very large number of taxa, codes can be duplicated for different Taxa Groups. In general, these various Taxa Groups are analyzed separately, and no duplication will occur within a dataset. However, if Taxa Groups are combined, unique codes can be generated by prefixing with the TaxaGroupID, For example:&#10;*VPL:Cle Clethra&#10;*MAM:Cle Clethrionomys&#10;A set of conventions has been established for codes. In some cases conventions differ depending on whether the organism is covered by rules of botanical nomenclature (BN) or zoological nomenclature (ZN).&#10;*Genus – Three-letter code, first letter capitalized, generally the first three unless already used.&#10;**Ace Acer&#10;**Cle Clethrionomys&#10;*Subgenus – The genus code plus a two-letter subgenus code, first letter capitalized, separated by a period.&#10;**Pin.Pi Pinus subg. Pinus&#10;**Syn.Mi Synaptomys (Mictomys)&#10;*Species – The genus code plus a two-letter, lower-case species code, separated by a period.&#10;**Ace.sa Acer saccharum&#10;**Ace.sc Acer saccharinum&#10;**Cle.ga Clethrionomys gapperi&#10;*Subspecies or variety – The species code a two-letter, lower-case subspecies code, separated by a period.&#10;**Aln.vi.si Alnus viridis subsp. Sinuata&#10;**Bis.bi.an Bison bison antiquus&#10;*Family – Six-letter code, first letter capitalized, consisting of three letters followed by «eae» (BN) or «dae» (ZN).&#10;**Roseae Rosaceae&#10;**Bovdae Bovidae&#10;*Subfamily or tribe – (BN) Family code plus two-letter subfamily code, first letter capitalized, separated by a priod. (ZN) Six-letter code, first letter capitalized, consisting of three letters followed by «nae».&#10;**Asteae.As Asteraceae subf. Asteroideae&#10;**Asteae.Cy Asteraceae tribe Cynarea&#10;**Arvnae Arvicolinae&#10;*Order – (BN) Six-letter code, first letter capitalized, consisting of three letters followed by «les». (ZN) Six-letter code, first letter capitalized, consisting of three letters, followed by the last three letters of the order name, unless the order name is ≤6 letters long, in which case the code = the order name. Zoological orders do not have a common ending.&#10;**Ercles Ericales&#10;**Artyla Artiodactyla&#10;**Rodtia Rodentia&#10;*Taxonomic levels higher than order – Six-letter code, first letter capitalized, consisting of three letters, followed by the last three letters of the order name, unless the order name is ≤6 letters long, in which case the code = the order name..&#10;**Magida Magnoliopsida&#10;**Magyta Magnoliophyta&#10;**Mamlia Mammalia&#10;*Types – The conventional taxon code followed by «-type».&#10;**Aln.in-t Alnus incana-type&#10;**Amb-t Ambrosia-type&#10;*cf. – «cf. » is placed in the proper position.&#10;**Odc.cf.he Odocoileus cf. O. hemionus&#10;**cf.Odc.he cf. Odocoileus hemionus&#10;**cf.Odc cf. Odocoileus&#10;*aff. – «aff. » is abbreviated to «af. ».&#10;**af.Can.di aff. Canis dirus&#10;*? – «?» is placed in the proper position.&#10;**?Pro.lo ?Procyon lotor&#10;*Alternative names – A slash is placed between the conventional abbreviations for the alternative taxa.&#10;**Ost/Cpn Ostrya/Carpinus&#10;**Mstdae/Mepdae Mustelidae/Mephitidae&#10;*Undifferentiated taxa – (BN) «.ud» is added to the code. (ZN) «.sp » is added to the code.&#10;**Aln.ud Alnus undiff.&#10;**Roseae.ud Rosaceae undiff.&#10;**Mms.sp Mammuthus sp.&#10;**Taydae.sp Tayassuidae sp&#10;*Parenthetic modifiers – The conventional taxon code with an appropriate abbreviation for the modifier separated by periods. Multiple modifiers also separated by periods. *Abbreviations for pollen morphological modifiers follow Iversen and Troels-Smith (1950).&#10;**Raneae.C3 Ranunculaceae (tricolpate)&#10;**Raneae.Cperi Ranunculaceae (pericolpate)&#10;**Pineae.ves.ud Pinaceae (vesiculate) undiff.&#10;**Myteae.Csyn.psi Myrtaceae (syncolpate, psilate)&#10;**Bet.&gt;20µ Betula (&gt;20 µm)&#10;*Non-biological taxa – Use appropriate abbreviations.&#10;**bulk.dens Bulk density&#10;**LOI Loss-on-ignition&#10;**Bet.pol.diam Betula mean pollen-grain diameter" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="taxonname" nullable="false" remarks="Name of the taxon. Most TaxonNames are biological taxa; however, some are biometric measures and some are physical parameters. In addition, some biological taxa may have parenthetic non-Latin modifers, e.g. «Betula (&gt;20 µm)» for Betula pollen grains &gt;20 µm in diameter. In general, the names used in Neotoma are those used by the original investigator. In particular, identifications are not changed, although Dataset notes can be added to the database regarding particular identifications. However, some corrections and synonymizations are made. These include:&#10;*Misspellings are corrected.&#10;*Nomenclatural, homotypic, or objective synonyms may be applied. Because these synonyms unambiguously refer to the same taxon, no change in identification is implied. For example, the old family name for the grasses «Gramineae» is changed to «Poaceae».&#10;*Taxonomic, heterotypic, or subjective synonyms may be applied if the change does not effectively assign the specimen to a different taxon. Although two names may have been based on different type specimens, if further research has shown that these are in fact the same taxon, the name is changed to the accepted name. These synonymizations should not cause confusion. However, uncritical synonymization, although taxonomically correct, can result in loss of information, and should be avoided. For example, although a number of recent studies have shown that the Taxodiaceae should be merged with the Cupressaceae, simply synonymizing Taxodiaceae with Cupressaceae may expand the universe of taxa beyond that implied by the original investigator. For example, a palynologist in the southeastern United States may have used «Taxodiaceae» to imply «Taxodium», which is the only genus of the family that has occurred in the region since the Pliocene, but used the the family name because, palynologically, Taxodiuim cannot be differentiated from other Taxodiaceae. However, well preserved Taxodium pollen grains can be differentiated from the other Cupressaceous genera in the region, Juniperus and Chamaecyperus. Thus, the appropriate synonymization for «Taxodiaceae» in this region would be «Taxodium» or «Taxodium-type», which would retain the original taxonomic precision. On the other hand, the old «TCT» shorthand for «Taxodiaceae/Cupressaceae/Taxaceae» now becomes «Cupressaceae/Taxaceae» with no loss of information.&#10;*For alternative taxonomic designations, the order may be changed. For example, «Ostrya/Carpinus» would be substituted for «Carpinus/Ostrya»." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="author" nullable="true" remarks="Author(s) of the name. Neither the pollen database nor FAUNMAP stored author names, so these do not currently exist in Neotoma for plant and mammal names. These databases follow standard taxonomic references (e.g. Flora of North America, Flora Europaea, Wilson and Reeder's Mammal Species of the World), which, of course, do cite the original authors. However, for beetles, the standard practice is to cite original author names; therefore, this field was added to Neotoma." size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="valid" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="highertaxonid" nullable="true" remarks="The TaxonID of the next higher taxonomic rank, for example, the HigherTaxonID for «Bison» is the TaxonID for «Bovidae». For «cf.'s» and «-types», the next higher rank may be much higher owing to the uncertainty of the identification; the HigherTaxonID for «cf. Bison bison» is the TaxonId for «Mammalia». The HigherTaxonID implements the taxonomic hierarchy in Neotoma." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_highertaxonid" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="extinct" nullable="false" remarks="True if the taxon is extinct, False if extant." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="taxagroupid" nullable="false" remarks="The TaxaGroupID facilitates rapid extraction of taxa groups that are typically grouped together for analysis. Some of these groups contain taxa in different classes or phyla. For example, vascular plants include the Spermatophyta and Pteridophyta; the herps include Reptilia and Amphibia; the testate amoebae include taxa from different phyla. Field links to the TaxaGroupTypes table." size="3" type="varchar" typeCode="12">
            <parent catalog="neotoma" column="taxagroupid" foreignKey="fk_taxagroupid" implied="false" onDeleteCascade="false" schema="ndb" table="taxagrouptypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="publicationid" nullable="true" remarks="Publication identification number. Field links to the Publications table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="fk_publicationid" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="validatorid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="contactid" foreignKey="fk_validatorid" implied="false" onDeleteCascade="false" schema="ndb" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="validatedate" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="notes" nullable="true" remarks="Free form notes or comments about the Taxon." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="12" name="recdatecreated" nullable="true" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="recdatemodified" nullable="true" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="taxonid" sequenceNumberInPK="1"/>
         <index name="taxa_pkey" unique="true">
            <column ascending="true" name="taxonid"/>
         </index>
         <index name="ix_taxagroupid_taxa" unique="false">
            <column ascending="true" name="taxagroupid"/>
         </index>
         <index name="ix_taxonname_taxa" unique="false">
            <column ascending="true" name="taxonname"/>
         </index>
         <index name="taxonames_idx" unique="false">
            <column ascending="true" name="taxonname"/>
         </index>
         <index name="taxonname_btree" unique="false">
            <column ascending="true" name="taxonname"/>
         </index>
      </table>
      <table catalog="neotoma" name="taxaalthierarchy" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="taxaalthierarchytypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxaalthierarchytypeid" foreignKey="fk_taxaalthierarchy_taxaalthierarchytypes" implied="false" onDeleteCascade="true" schema="ndb" table="taxaalthierarchytypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_taxaalthierarchy_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="highertaxonid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_taxaalthierarchy_taxa1" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <primaryKey column="taxaalthierarchytypeid" sequenceNumberInPK="1"/>
         <primaryKey column="taxonid" sequenceNumberInPK="2"/>
         <index name="taxaalthierarchy_pkey" unique="true">
            <column ascending="true" name="taxaalthierarchytypeid"/>
            <column ascending="true" name="taxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="taxaalthierarchytypes" numRows="1" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_taxaalthierarchytypes_taxaalthierarchytypeid'::regclass)" digits="0" id="0" name="taxaalthierarchytypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="taxaalthierarchytypeid" foreignKey="fk_taxaalthierarchy_taxaalthierarchytypes" implied="false" onDeleteCascade="true" schema="ndb" table="taxaalthierarchy"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxaalthierarchyname" nullable="false" remarks="" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="taxaalthierarchydescript" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="taxaalthierarchytypeid" sequenceNumberInPK="1"/>
         <index name="taxaalthierarchytypes_pkey" unique="true">
            <column ascending="true" name="taxaalthierarchytypeid"/>
         </index>
      </table>
      <table catalog="neotoma" name="taxagrouptypes" numRows="55" remarks="Lookup table for Taxa Group Types. This table is referenced by the Taxa table." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="taxagroupid" nullable="false" remarks="A three-letter Taxa Group code." size="3" type="varchar" typeCode="12">
            <child catalog="neotoma" column="taxagroupid" foreignKey="fk_datasettaxagrouptypes_taxagrouptypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettaxagrouptypes"/>
            <child catalog="neotoma" column="taxagroupid" foreignKey="edt_group" implied="false" onDeleteCascade="false" schema="ndb" table="elementdatasettaxagroups"/>
            <child catalog="neotoma" column="taxagroupid" foreignKey="fk_elementtaxagrouptypes_taxagrouptypes" implied="false" onDeleteCascade="true" schema="ndb" table="elementtaxagroups"/>
            <child catalog="neotoma" column="taxagroupid" foreignKey="fk_taxagroupid" implied="false" onDeleteCascade="false" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxagroup" nullable="false" remarks="The taxa group. Below are some examples:&#10;TaxaGroupID&#10;TaxaGroup&#10;AVE&#10;Birds&#10;BIM&#10;Biometric variables&#10;BRY&#10;Bryophytes&#10;BTL&#10;Beetles&#10;FSH&#10;Fish&#10;HRP&#10;Reptiles and amphibians&#10;LAB&#10;Laboratory analyses&#10;MAM&#10;Mammals&#10;MOL&#10;Molluscs&#10;PHY&#10;Physical variables&#10;TES&#10;Testate amoebae&#10;VPL&#10;Vascular plants" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="taxagroupid" sequenceNumberInPK="1"/>
         <index name="taxagrouptypes_pkey" unique="true">
            <column ascending="true" name="taxagroupid"/>
         </index>
      </table>
      <table catalog="neotoma" name="taxonpaths" numRows="0" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="taxonout" nullable="false" remarks="" size="10" type="_int4" typeCode="2003"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxonid" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent catalog="neotoma" column="taxonid" foreignKey="taxonpaths_taxonid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <primaryKey column="taxonout" sequenceNumberInPK="1"/>
         <primaryKey column="taxonid" sequenceNumberInPK="2"/>
         <index name="taxonpaths_pkey" unique="true">
            <column ascending="true" name="taxonout"/>
            <column ascending="true" name="taxonid"/>
         </index>
      </table>
      <table catalog="neotoma" name="tephras" numRows="157" remarks="Tephras lookup table. This table stores recognized tephras with established ages. Referenced by the Tephrachronology table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_tephras_tephraid'::regclass)" digits="0" id="0" name="tephraid" nullable="false" remarks="An arbitrary Tephra identification number." size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="eventid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="eventid" foreignKey="fk_tephras_events" implied="false" onDeleteCascade="true" schema="ndb" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="analysisunitid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="analysisunitid" foreignKey="fk_tephras_analysisunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="Free form notes or comments about the tephra." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="4" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="tephraid" sequenceNumberInPK="1"/>
         <index name="tephras_pkey" unique="true">
            <column ascending="true" name="tephraid"/>
         </index>
      </table>
      <table catalog="neotoma" name="uncertaintybases" numRows="4" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.uncertaintybases_uncertaintybasisid_seq'::regclass)" digits="0" id="0" name="uncertaintybasisid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="uncertaintybasisid" foreignKey="datauncertainties_uncertaintybasisid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="datauncertainties"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="uncertaintybasis" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="uncertaintybasisid" sequenceNumberInPK="1"/>
         <index name="uncertaintybases_pkey" unique="true">
            <column ascending="true" name="uncertaintybasisid"/>
         </index>
         <index name="uniquebasis" unique="true">
            <column ascending="true" name="uncertaintybasis"/>
         </index>
      </table>
      <table catalog="neotoma" name="unitsdatasettypes" numRows="689" remarks="Join table, associating measurement units with various datasettypes." schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="datasettypeid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="datasettypeid" foreignKey="fk_unitsdatasettypes_datasettypes" implied="false" onDeleteCascade="true" schema="ndb" table="datasettypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variableunitsid" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="fk_unitsdatasettypes_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="variableunits"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="datasettypeid" sequenceNumberInPK="1"/>
         <primaryKey column="variableunitsid" sequenceNumberInPK="2"/>
         <index name="unitsdatasettypes_pkey" unique="true">
            <column ascending="true" name="datasettypeid"/>
            <column ascending="true" name="variableunitsid"/>
         </index>
      </table>
      <table catalog="neotoma" name="uraniumseries" numRows="6076" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geochronid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="uraniumseries_geochronid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="decayconstantid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="decayconstantid" foreignKey="uraniumseries_decayconstantid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="decayconstants"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ratio230th232th" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="ratiouncertainty230th232th" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="activity230th238u" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="activityuncertainty230th238u" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="activity234u238u" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="activityuncertainty234u238u" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="iniratio230th232th" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="iniratiouncertainty230th232th" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
      </table>
      <table catalog="neotoma" name="uraniumseriesdata" numRows="11489" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="geochronid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="geochronid" foreignKey="uraniumseriesdata_geochronid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="geochronology"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dataid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="dataid" foreignKey="uraniumseriesdata_dataid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="data"/>
         </column>
      </table>
      <table catalog="neotoma" name="variablecontexts" numRows="71" remarks="Variable Contexts lookup table. Table is referenced by the Variables table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_variablecontexts_variablecontextid'::regclass)" digits="0" id="0" name="variablecontextid" nullable="false" remarks="An arbitrary Variable Context identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="variablecontextid" foreignKey="fk_contextsdatasettypes_variablecontexts" implied="false" onDeleteCascade="true" schema="ndb" table="contextsdatasettypes"/>
            <child catalog="neotoma" column="variablecontextid" foreignKey="fk_variables_variablecontexts" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variablecontext" nullable="false" remarks="Depositional context. Examples are:&#10;*anachronic – specimen older than the primary deposit, e.g. a Paleozoic spore in a Holocene deposit; may be redeposited from the catchment or may be derived from long distance, e.g. Tertiary pollen grains in Quaternary sediments with no local Tertiary source. A Pleistocene specimen in a Holocene archaeological deposit, possibly resulting from aboriginal fossil collecting, would also be anachronic.&#10;*intrusive – specimen generally younger younger than the primary deposit, e.g. a domestic pig in an otherwise Pleistocene deposit in North America.&#10;*redeposited – specimen older than the primary deposit and assumed to have been redeposited from a local source by natural causes.&#10;*articulated – articulated skeleton&#10;*clump – clump, esp. of pollen grains" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="variablecontextid" sequenceNumberInPK="1"/>
         <index name="variablecontexts_pkey" unique="true">
            <column ascending="true" name="variablecontextid"/>
         </index>
      </table>
      <table catalog="neotoma" name="variableelements" numRows="1009" remarks="Lookup table of Variable Elements. Table is referenced by the Variables table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_variableelements_variableelementid'::regclass)" digits="0" id="0" name="variableelementid" nullable="false" remarks="An arbitrary Variable Element identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="variableelementid" foreignKey="fk_variables_variableelements" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variableelement" nullable="true" remarks="The element, part, or organ of the taxon identified. For plants, these include pollen, spores, and various macrofossil organs, such as «seed», «twig», «cone», and «cone bract». Thus, Betula pollen and Betula seeds are two different Variables. For mammals, Elements include the bone or tooth identified, e.g. «tibia». «tibia, distal, left», «M2, lower, left». Some more unusual elements are Neotoma fecal pellets and Erethizon dorsata quills. If no element is indicated for mammalian fauna, then the genric element «bone/tooth» is assigned. Elements were not assigned in FAUNMAP, so all Variables ingested from FAUNMAP were assigned the «bone/tooth» element. Physical Variables may also have elements. For example, the Loss-on-ignition Variables have «Loss-on-ignition» as a Taxon, and temperature of analysis as an element, e.g. «500°C», «900°C». Charcoal Variables have the size fragments as elements, e.g. «75-100 µm», «100-125 µm»." size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="elementtypeid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="elementtypeid" foreignKey="fk_variableelements_elementtypes" implied="false" onDeleteCascade="false" schema="ndb" table="elementtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="symmetryid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="symmetryid" foreignKey="fk_variableelements_elementsymmetries" implied="false" onDeleteCascade="true" schema="ndb" table="elementsymmetries"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="portionid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="portionid" foreignKey="fk_variableelements_elementportions" implied="false" onDeleteCascade="true" schema="ndb" table="elementportions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="maturityid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="maturityid" foreignKey="fk_variableelements_elementmaturities" implied="false" onDeleteCascade="true" schema="ndb" table="elementmaturities"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="6" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="variableelementid" sequenceNumberInPK="1"/>
         <index name="variableelements_pkey" unique="true">
            <column ascending="true" name="variableelementid"/>
         </index>
      </table>
      <table catalog="neotoma" name="variables" numRows="56878" remarks="This table lists Variables, which always consist of a Taxon and Units of measurement. Variables can also have Elements, Contexts, and Modifications. Thus, the same taxon with different measurement units (e.g. present/absent, NISP, MNI) are different Variables." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_variables_variableid'::regclass)" digits="0" id="0" name="variableid" nullable="false" remarks="An arbitrary Variable identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="variableid" foreignKey="fk_data_variables" implied="false" onDeleteCascade="true" schema="ndb" table="data"/>
            <child catalog="neotoma" column="variableid" foreignKey="fk_datasetvariables_variables" implied="false" onDeleteCascade="true" schema="ndb" table="datasetvariables"/>
            <child catalog="neotoma" column="variableid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ndb" table="dsdatasample"/>
            <child catalog="neotoma" column="variableid" foreignKey="fk_isoinstrumentation_variables" implied="false" onDeleteCascade="true" schema="ndb" table="isoinstrumentation"/>
            <child catalog="neotoma" column="variableid" foreignKey="fk_isosrmetadata_variables" implied="false" onDeleteCascade="true" schema="ndb" table="isosrmetadata"/>
            <child catalog="neotoma" column="variableid" foreignKey="fk_isostandards_variables" implied="false" onDeleteCascade="true" schema="ndb" table="isostandards"/>
            <child catalog="neotoma" column="variableid" foreignKey="fk_isovariablescaletypes_variables" implied="false" onDeleteCascade="true" schema="ndb" table="isovariablescaletypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="taxonid" nullable="false" remarks="Taxon identification number. Field links to the Taxa table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="taxonid" foreignKey="fk_variables_taxa" implied="false" onDeleteCascade="true" schema="ndb" table="taxa"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="variableelementid" nullable="true" remarks="Variable Element identification number. Field links to the VariableElements lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableelementid" foreignKey="fk_variables_variableelements" implied="false" onDeleteCascade="true" schema="ndb" table="variableelements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="variableunitsid" nullable="true" remarks="Variable Units identification number. Field links to the VariableUnits lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variableunitsid" foreignKey="fk_variables_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="variableunits"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="variablecontextid" nullable="true" remarks="Variable Context identification number. Field links to the VariableContexts lookup table." size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="variablecontextid" foreignKey="fk_variables_variablecontexts" implied="false" onDeleteCascade="true" schema="ndb" table="variablecontexts"/>
         </column>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="5" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="variableid" sequenceNumberInPK="1"/>
         <index name="variables_pkey" unique="true">
            <column ascending="true" name="variableid"/>
         </index>
         <index name="ix_taxonid_variables" unique="false">
            <column ascending="true" name="taxonid"/>
         </index>
         <index name="variableel" unique="false">
            <column ascending="true" name="taxonid"/>
            <column ascending="true" name="variableelementid"/>
            <column ascending="true" name="variableunitsid"/>
         </index>
         <index name="variables_unique" unique="true">
            <column ascending="true" name="taxonid"/>
            <column ascending="true" name="variableelementid"/>
            <column ascending="true" name="variableunitsid"/>
            <column ascending="true" name="variablecontextid"/>
         </index>
      </table>
      <table catalog="neotoma" name="variableunits" numRows="220" remarks="Lookup table of Variable Units. Table is referenced by the Variables table." schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.seq_variableunits_variableunitsid'::regclass)" digits="0" id="0" name="variableunitsid" nullable="false" remarks="An arbitrary Variable Units identification number." size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="variableunitsid" foreignKey="fk_accumulationrates_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="accumulationrates"/>
            <child catalog="neotoma" column="variableunitsid" foreignKey="fk_analysisunitaltdepths_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="analysisunitaltdepthscales"/>
            <child catalog="neotoma" column="uncertaintyunitid" foreignKey="datauncertainties_uncertaintyunitid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="datauncertainties"/>
            <child catalog="neotoma" column="entitycoverunits" foreignKey="entitycovers_entitycoverunits_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entitycovers"/>
            <child catalog="neotoma" column="entitydripheightunit" foreignKey="entitydripheight_entitydripheightunit_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="entitydripheight"/>
            <child catalog="neotoma" column="entrancedistanceunits" foreignKey="speleothems_entrancedistanceunits_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="speleothems"/>
            <child catalog="neotoma" column="variableunitsid" foreignKey="fk_unitsdatasettypes_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="unitsdatasettypes"/>
            <child catalog="neotoma" column="variableunitsid" foreignKey="fk_variables_variableunits" implied="false" onDeleteCascade="true" schema="ndb" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variableunits" nullable="false" remarks="The units of measurement. For fauna, these are «present/absent», «NISP» (Number of Individual Specimens), and «MNI» (Minimum Number of Individuals). For pollen, these are «NISP» (pollen counts) and «percent». Units for plant macrofossils include «present/absent» and «NISP», as well as a number of quantitative concentration measurements and semi-quantitative abundance measurements such as «1-5 scale». Examples of charcoal measurement units are «fragments/ml» and «µm^2/ml»." size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="timezone('UTC'::text, now())" digits="0" id="2" name="recdatecreated" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="recdatemodified" nullable="false" remarks="" size="22" type="timestamp" typeCode="93"/>
         <primaryKey column="variableunitsid" sequenceNumberInPK="1"/>
         <index name="variableunits_pkey" unique="true">
            <column ascending="true" name="variableunitsid"/>
         </index>
      </table>
      <table catalog="neotoma" name="vegetationcovertypes" numRows="26" remarks="" schema="ndb" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('ndb.vegetationcovertypes_vegetationcovertypeid_seq'::regclass)" digits="0" id="0" name="vegetationcovertypeid" nullable="false" remarks="" size="10" type="serial" typeCode="4">
            <child catalog="neotoma" column="landusecovertypeid" foreignKey="entitylandusecover_landusecovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entitylandusecover"/>
            <child catalog="neotoma" column="vegetationcovertypeid" foreignKey="entityvegetationcover_vegetationcovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="entityvegetationcover"/>
            <child catalog="neotoma" column="landusecovertypeid" foreignKey="sitelandusecover_landusecovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sitelandusecover"/>
            <child catalog="neotoma" column="vegetationcovertypeid" foreignKey="sitevegetationcover_vegetationcovertypeid_fkey" implied="false" onDeleteCascade="true" schema="ndb" table="sitevegetationcover"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="vegetationcovertype" nullable="true" remarks="" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="vegetationcovernotes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="vegetationpublicationid" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent catalog="neotoma" column="publicationid" foreignKey="vegetationcovertypes_vegetationpublicationid_fkey" implied="false" onDeleteCascade="false" schema="ndb" table="publications"/>
         </column>
         <primaryKey column="vegetationcovertypeid" sequenceNumberInPK="1"/>
         <index name="vegetationcovertypes_pkey" unique="true">
            <column ascending="true" name="vegetationcovertypeid"/>
         </index>
         <index name="vegetationcovertypes_vegetationcovertype_key" unique="true">
            <column ascending="true" name="vegetationcovertype"/>
         </index>
      </table>
   </tables>
   <routines>
      <routine dataAccess="MODIFIES" deterministic="false" name="compute_cnratio()" returnType="trigger" securityType="DEFINER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[begin
	--[percentc]/(12))/([percentn]/(14)
    if (new."percentn") = 0 or (new."percentn") = 0
    then
	new."cnratio" = 0;
	return new;
    else
	new."cnratio" = ((new."percentc")/12) /((new."percentn")/14);
	return new;
    end if;
end]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="contacts_delete_fn()" returnType="trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[BEGIN
		update ndb.chronologies
		set contactid = null
		where contactid = OLD.contactid; 

		delete from ndb.collectors
		where contactid = OLD.contactid;

		update ndb.constituentdatabases
		set contactid = null
		where contactid = OLD.contactid ;

		delete from ndb.dataprocessors
		where contactid = OLD.contactid;

		delete from ndb.datasetpis
		where contactid = OLD.contactid;

		update ndb.datasetsubmissions
		set contactid = null
		where contactid = OLD.contactid; 

		delete from ndb.datasettaxonnotes
		where contactid = OLD.contactid;

		delete from ndb.datataxonnotes
		where contactid = OLD.contactid;

		update ndb.isometadata
		set analystid = null
		where analystid = OLD.contactid; 

		delete from ndb.publicationauthors
		where contactid = OLD.contactid;

		delete from ndb.sampleanalysts
		where contactid = OLD.contactid;

		update ndb.siteimages
		set contactid = null
		where contactid = OLD.contactid; 

		delete from ti.stewards
		where contactid = OLD.contactid;

		delete from ti.stewardupdates
		where contactid = OLD.contactid;

		update ndb.synonymy
		set contactid = null
		where contactid = OLD.contactid;  

		update ndb.taxa
		set validatorid = null
		where validatorid = OLD.contactid; 

		RETURN NULL;
	END;]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="datasetconstitdb(startperiod integer DEFAULT 0, endperiod integer DEFAULT 1)" returnType="TABLE(databasename character varying, counts bigint)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[SELECT cdb.databasename, count(*)
  FROM ndb.datasets AS ds
  JOIN ndb.datasetsubmissions AS dss on dss.datasetid = ds.datasetid
  JOIN ndb.constituentdatabases AS cdb ON cdb.databaseid = dss.databaseid
  WHERE EXTRACT(year from AGE(NOW(), dss.submissiondate))*12 +
   EXTRACT(month from AGE(NOW(), dss.submissiondate)) BETWEEN startperiod and endperiod
  GROUP BY cdb.databasename]]></definition>
         <parameters>
            <parameter mode="IN" name="startperiod" type="integer"/>
            <parameter mode="IN" name="endperiod" type="integer"/>
            <parameter mode="TABLE" name="databasename" type="character varying"/>
            <parameter mode="TABLE" name="counts" type="bigint"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="datasetcontribs(startperiod integer DEFAULT 0, endperiod integer DEFAULT 1)" returnType="TABLE(databasename character varying, counts bigint)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[SELECT ct.contactname, count(*)
  FROM ndb.datasets AS ds
  JOIN ndb.datasetsubmissions AS dss ON dss.datasetid = ds.datasetid
  JOIN ndb.contacts AS ct ON ct.contactid = dss.contactid
  WHERE EXTRACT(year from AGE(NOW(), dss.submissiondate))*12 +
   EXTRACT(month from AGE(NOW(), dss.submissiondate)) BETWEEN startperiod and endperiod
  GROUP BY ct.contactname]]></definition>
         <parameters>
            <parameter mode="IN" name="startperiod" type="integer"/>
            <parameter mode="IN" name="endperiod" type="integer"/>
            <parameter mode="TABLE" name="databasename" type="character varying"/>
            <parameter mode="TABLE" name="counts" type="bigint"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="datasetsummary(startperiod integer DEFAULT 0, endperiod integer DEFAULT 1)" returnType="TABLE(databasename character varying, counts bigint)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[SELECT dst.datasettype, count(*)
  FROM ndb.datasets AS ds
  JOIN ndb.datasettypes AS dst ON ds.datasettypeid = dst.datasettypeid
  JOIN ndb.datasetsubmissions AS dss on dss.datasetid = ds.datasetid
  JOIN ndb.constituentdatabases AS cdb ON cdb.databaseid = dss.databaseid
  WHERE EXTRACT(month from AGE(NOW(), dss.submissiondate)) BETWEEN 1 and 2
  GROUP BY cdb.databasename, dst.datasettype]]></definition>
         <parameters>
            <parameter mode="IN" name="startperiod" type="integer"/>
            <parameter mode="IN" name="endperiod" type="integer"/>
            <parameter mode="TABLE" name="databasename" type="character varying"/>
            <parameter mode="TABLE" name="counts" type="bigint"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="datasettypecontrib(startperiod integer DEFAULT 0, endperiod integer DEFAULT 1)" returnType="TABLE(datasettype character varying, counts bigint)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[SELECT dst.datasettype, count(DISTINCT ds.datasetid)
  FROM ndb.datasets AS ds
  JOIN ndb.datasettypes AS dst ON dst.datasettypeid = ds.datasettypeid
  JOIN ndb.datasetsubmissions AS dss on dss.datasetid = ds.datasetid
  WHERE EXTRACT(year from AGE(NOW(), dss.submissiondate))*12 +
   EXTRACT(month from AGE(NOW(), dss.submissiondate)) BETWEEN startperiod and endperiod
  GROUP BY dst.datasettype]]></definition>
         <parameters>
            <parameter mode="IN" name="startperiod" type="integer"/>
            <parameter mode="IN" name="endperiod" type="integer"/>
            <parameter mode="TABLE" name="datasettype" type="character varying"/>
            <parameter mode="TABLE" name="counts" type="bigint"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="getalltables(_schema text)" returnType="TABLE(schema text, &quot;table&quot; text, &quot;column&quot; text, data_type text, &quot;default&quot; text)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[SELECT table_schema, table_name, column_name, data_type, column_default
  FROM   information_schema.columns
  WHERE table_schema = _schema
  ORDER  BY table_name, ordinal_position;]]></definition>
         <parameters>
            <parameter mode="IN" name="_schema" type="text"/>
            <parameter mode="TABLE" name="schema" type="text"/>
            <parameter mode="TABLE" name="table" type="text"/>
            <parameter mode="TABLE" name="column" type="text"/>
            <parameter mode="TABLE" name="data_type" type="text"/>
            <parameter mode="TABLE" name="default" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="rawbymonth(startperiod integer DEFAULT 0, endperiod integer DEFAULT 1)" returnType="TABLE(datasets bigint, sites bigint, publications bigint, authors bigint, countrygpid bigint, observations numeric)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[WITH rsum AS (
  SELECT ds.datasetid,
         dsl.siteid,
         array_agg(DISTINCT dsp.publicationid) AS publications,
         array_agg(DISTINCT pua.contactid) AS authors,
         gpd.path[1] AS countrygpid
  FROM ndb.datasets AS ds
  JOIN ndb.datasetsubmissions AS dss on dss.datasetid = ds.datasetid
  JOIN ndb.dslinks AS dsl ON dsl.datasetid = ds.datasetid
  LEFT OUTER JOIN ndb.datasetpublications AS dsp ON dsp.datasetid = ds.datasetid
  LEFT OUTER JOIN ndb.publicationauthors AS pua ON dsp.publicationid = pua.publicationid
  JOIN ndb.sitegeopolitical AS sgp ON dsl.siteid = sgp.siteid
  JOIN ndb.geopoldepth AS gpd ON gpd.geopoliticalid = sgp.geopoliticalid
  WHERE
  EXTRACT(year from AGE(NOW(), dss.submissiondate))*12 +
  EXTRACT(month from AGE(NOW(), dss.submissiondate)) BETWEEN startperiod and endperiod
  GROUP BY ds.datasetid, dsl.siteid, gpd.path[1]),
shortsum AS (
  SELECT COUNT(DISTINCT datasetid) AS datasets,
         COUNT(DISTINCT siteid) AS sites,
         COUNT(DISTINCT unpublications) AS publications,
         COUNT(DISTINCT unauthors) AS authors,
         COUNT(DISTINCT countrygpid) AS countries
  FROM rsum,
  		 unnest(authors) AS unauthors,
  		 unnest(publications) AS unpublications),
obssum AS (
   SELECT ds.datasetid, MAX(dsm.observations) AS observations
   FROM ndb.datasets AS ds
   JOIN ndb.datasetsubmissions AS dss on dss.datasetid = ds.datasetid
   JOIN ndb.dssampdata AS dsm ON dsm.datasetid = ds.datasetid
   WHERE
    EXTRACT(year from AGE(NOW(), dss.submissiondate))*12 +
    EXTRACT(month from AGE(NOW(), dss.submissiondate))
    BETWEEN startperiod and endperiod
  GROUP BY ds.datasetid
)
SELECT *,
      (SELECT SUM(observations) FROM obssum) AS observations
FROM shortsum]]></definition>
         <parameters>
            <parameter mode="IN" name="startperiod" type="integer"/>
            <parameter mode="IN" name="endperiod" type="integer"/>
            <parameter mode="TABLE" name="datasets" type="bigint"/>
            <parameter mode="TABLE" name="sites" type="bigint"/>
            <parameter mode="TABLE" name="publications" type="bigint"/>
            <parameter mode="TABLE" name="authors" type="bigint"/>
            <parameter mode="TABLE" name="countrygpid" type="bigint"/>
            <parameter mode="TABLE" name="observations" type="numeric"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="sites_update_bbox_fn()" returnType="trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[DECLARE currGeom public.geometry; 

BEGIN
	--no need to check for point or polygon 
	currGeom := ST_GeomFromText(ST_AsText(NEW.geog)); 
	NEW.latitudenorth := ST_YMax(currGeom); 
	NEW.latitudesouth := ST_YMin(currGeom); 
	NEW.longitudeeast := ST_XMax(currGeom); 
	NEW.longitudewest := ST_XMin(currGeom); 
	RETURN NEW;	

END]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="stewardcontrib(startperiod integer DEFAULT 0, endperiod integer DEFAULT 1)" returnType="TABLE(databasename character varying, counts bigint)" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="sql"><![CDATA[SELECT cdb.databasename, count(*)
  FROM ndb.datasets AS ds
  JOIN ndb.datasetsubmissions AS dss on dss.datasetid = ds.datasetid
  JOIN ndb.constituentdatabases AS cdb ON cdb.databaseid = dss.databaseid
  WHERE EXTRACT(year from AGE(NOW(), dss.submissiondate))*12 +
   EXTRACT(month from AGE(NOW(), dss.submissiondate)) BETWEEN startperiod and endperiod
  GROUP BY cdb.databasename]]></definition>
         <parameters>
            <parameter mode="IN" name="startperiod" type="integer"/>
            <parameter mode="IN" name="endperiod" type="integer"/>
            <parameter mode="TABLE" name="databasename" type="character varying"/>
            <parameter mode="TABLE" name="counts" type="bigint"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="update_recdatecreated()" returnType="trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[BEGIN 
	NEW.recdatecreated = (current_timestamp at time zone 'UTC'); 
	Return NEW; 
END]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="update_recdatemodified()" returnType="trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[BEGIN 
	NEW.recdatemodified = (current_timestamp at time zone 'UTC'); 
	Return NEW; 
END]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
   </routines>
</database>
