/* * DDL file to generate the database schema for the H2 test database */ -- These settings where taken from the original 001-cdm.h2.sql file: SET CLUSTER ''; SET DEFAULT_TABLE_TYPE 0; SET WRITE_DELAY 500; SET DEFAULT_LOCK_TIMEOUT 2000; SET CACHE_SIZE 16384; CREATE USER IF NOT EXISTS EDIT PASSWORD '' ADMIN; CREATE SEQUENCE PUBLIC.SYSTEM_SEQUENCE_10A55F0A_EE57_42DB_8046_6240A60AD0EC START WITH 4 BELONGS_TO_TABLE; -- DDL generated by class DdlCreator using maven antrun plugin: -- =========================================================== create table PUBLIC.ADDRESS ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LOCALITY varchar(255), LOCATION_ERRORRADIUS integer, LOCATION_LATITUDE double, LOCATION_LONGITUDE double, POBOX varchar(255), POSTCODE varchar(255), REGION varchar(255), STREET varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, COUNTRY_ID integer, LOCATION_REFERENCESYSTEM_ID integer, primary key (ID) ); create table PUBLIC.ADDRESS_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LOCALITY varchar(255), LOCATION_ERRORRADIUS integer, LOCATION_LATITUDE double, LOCATION_LONGITUDE double, POBOX varchar(255), POSTCODE varchar(255), REGION varchar(255), STREET varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, COUNTRY_ID integer, LOCATION_REFERENCESYSTEM_ID integer, primary key (ID, REV) ); create table PUBLIC.AGENTBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), CODE varchar(255), NAME varchar(255), COLLECTORTITLECACHE varchar(800), NOMENCLATURALTITLECACHE varchar(800), COLLECTORTITLE varchar(255), FAMILYNAME varchar(255), GIVENNAME varchar(255), INITIALS varchar(80), LIFESPAN_END varchar(255), LIFESPAN_FREETEXT varchar(255), LIFESPAN_START varchar(255), NOMENCLATURALTITLE varchar(255), ORCID varchar(16), PREFIX varchar(255), SUFFIX varchar(255), HASMOREMEMBERS boolean, PROTECTEDCOLLECTORTITLECACHE boolean, PROTECTEDNOMENCLATURALTITLECACHE boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, ISPARTOF_ID integer, primary key (ID) ); create table PUBLIC.AGENTBASE_ADDRESS ( AGENTBASE_ID integer not null, CONTACT_ADDRESSES_ID integer not null, primary key (AGENTBASE_ID, CONTACT_ADDRESSES_ID) ); create table PUBLIC.AGENTBASE_ADDRESS_AUD ( REV integer not null, AGENTBASE_ID integer not null, CONTACT_ADDRESSES_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, CONTACT_ADDRESSES_ID) ); create table PUBLIC.AGENTBASE_AGENTBASE ( TEAM_ID integer not null, TEAMMEMBERS_ID integer not null, SORTINDEX integer not null, primary key (TEAM_ID, SORTINDEX) ); create table PUBLIC.AGENTBASE_AGENTBASE_AUD ( REV integer not null, TEAM_ID integer not null, TEAMMEMBERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TEAM_ID, TEAMMEMBERS_ID, SORTINDEX) ); create table PUBLIC.AGENTBASE_ANNOTATION ( AGENTBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (AGENTBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.AGENTBASE_ANNOTATION_AUD ( REV integer not null, AGENTBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.AGENTBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), CREATEDBY_ID integer, UPDATEDBY_ID integer, CODE varchar(255), NAME varchar(255), ISPARTOF_ID integer, COLLECTORTITLECACHE varchar(800), NOMENCLATURALTITLECACHE varchar(800), HASMOREMEMBERS boolean, PROTECTEDCOLLECTORTITLECACHE boolean, PROTECTEDNOMENCLATURALTITLECACHE boolean, COLLECTORTITLE varchar(255), FAMILYNAME varchar(255), GIVENNAME varchar(255), INITIALS varchar(80), LIFESPAN_END varchar(255), LIFESPAN_FREETEXT varchar(255), LIFESPAN_START varchar(255), NOMENCLATURALTITLE varchar(255), ORCID varchar(16), PREFIX varchar(255), SUFFIX varchar(255), primary key (ID, REV) ); create table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES ( AGENTBASE_ID integer not null, CONTACT_EMAILADDRESSES_ELEMENT varchar(255) ); create table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES_AUD ( REV integer not null, AGENTBASE_ID integer not null, CONTACT_EMAILADDRESSES_ELEMENT varchar(255) not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, CONTACT_EMAILADDRESSES_ELEMENT) ); create table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS ( AGENTBASE_ID integer not null, CONTACT_FAXNUMBERS_ELEMENT varchar(255) ); create table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS_AUD ( REV integer not null, AGENTBASE_ID integer not null, CONTACT_FAXNUMBERS_ELEMENT varchar(255) not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, CONTACT_FAXNUMBERS_ELEMENT) ); create table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS ( AGENTBASE_ID integer not null, CONTACT_PHONENUMBERS_ELEMENT varchar(255) ); create table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS_AUD ( REV integer not null, AGENTBASE_ID integer not null, CONTACT_PHONENUMBERS_ELEMENT varchar(255) not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, CONTACT_PHONENUMBERS_ELEMENT) ); create table PUBLIC.AGENTBASE_CONTACT_URLS ( AGENTBASE_ID integer not null, CONTACT_URLS_ELEMENT varchar(255) ); create table PUBLIC.AGENTBASE_CONTACT_URLS_AUD ( REV integer not null, AGENTBASE_ID integer not null, CONTACT_URLS_ELEMENT varchar(255) not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, CONTACT_URLS_ELEMENT) ); create table PUBLIC.AGENTBASE_CREDIT ( AGENTBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (AGENTBASE_ID, SORTINDEX) ); create table PUBLIC.AGENTBASE_CREDIT_AUD ( REV integer not null, AGENTBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.AGENTBASE_DEFINEDTERMBASE ( INSTITUTION_ID integer not null, TYPES_ID integer not null, primary key (INSTITUTION_ID, TYPES_ID) ); create table PUBLIC.AGENTBASE_DEFINEDTERMBASE_AUD ( REV integer not null, INSTITUTION_ID integer not null, TYPES_ID integer not null, REVTYPE tinyint, primary key (REV, INSTITUTION_ID, TYPES_ID) ); create table PUBLIC.AGENTBASE_EXTENSION ( AGENTBASE_ID integer not null, EXTENSIONS_ID integer not null, primary key (AGENTBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.AGENTBASE_EXTENSION_AUD ( REV integer not null, AGENTBASE_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.AGENTBASE_EXTERNALLINK ( AGENTBASE_ID integer not null, LINKS_ID integer not null, primary key (AGENTBASE_ID, LINKS_ID) ); create table PUBLIC.AGENTBASE_EXTERNALLINK_AUD ( REV integer not null, AGENTBASE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, LINKS_ID) ); create table PUBLIC.AGENTBASE_IDENTIFIER ( AGENTBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (AGENTBASE_ID, SORTINDEX) ); create table PUBLIC.AGENTBASE_IDENTIFIER_AUD ( REV integer not null, AGENTBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.AGENTBASE_MARKER ( AGENTBASE_ID integer not null, MARKERS_ID integer not null, primary key (AGENTBASE_ID, MARKERS_ID) ); create table PUBLIC.AGENTBASE_MARKER_AUD ( REV integer not null, AGENTBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, MARKERS_ID) ); create table PUBLIC.AGENTBASE_MEDIA ( AGENTBASE_ID integer not null, MEDIA_ID integer not null, primary key (AGENTBASE_ID, MEDIA_ID) ); create table PUBLIC.AGENTBASE_MEDIA_AUD ( REV integer not null, AGENTBASE_ID integer not null, MEDIA_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, MEDIA_ID) ); create table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE ( AGENTBASE_ID integer not null, SOURCES_ID integer not null, primary key (AGENTBASE_ID, SOURCES_ID) ); create table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE_AUD ( REV integer not null, AGENTBASE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, SOURCES_ID) ); create table PUBLIC.AGENTBASE_RIGHTSINFO ( AGENTBASE_ID integer not null, RIGHTS_ID integer not null, primary key (AGENTBASE_ID, RIGHTS_ID) ); create table PUBLIC.AGENTBASE_RIGHTSINFO_AUD ( REV integer not null, AGENTBASE_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, AGENTBASE_ID, RIGHTS_ID) ); create table PUBLIC.AMPLIFICATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), ELECTROPHORESISVOLTAGE double, GELCONCENTRATION double, GELRUNNINGTIME double, LABELCACHE varchar(255), LADDERUSED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, DNAMARKER_ID integer, FORWARDPRIMER_ID integer, INSTITUTION_ID integer, PURIFICATION_ID integer, REVERSEPRIMER_ID integer, primary key (ID) ); create table PUBLIC.AMPLIFICATION_ANNOTATION ( AMPLIFICATION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (AMPLIFICATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.AMPLIFICATION_ANNOTATION_AUD ( REV integer not null, AMPLIFICATION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, AMPLIFICATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.AMPLIFICATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), ELECTROPHORESISVOLTAGE double, GELCONCENTRATION double, GELRUNNINGTIME double, LABELCACHE varchar(255), LADDERUSED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, DNAMARKER_ID integer, FORWARDPRIMER_ID integer, INSTITUTION_ID integer, PURIFICATION_ID integer, REVERSEPRIMER_ID integer, primary key (ID, REV) ); create table PUBLIC.AMPLIFICATION_MARKER ( AMPLIFICATION_ID integer not null, MARKERS_ID integer not null, primary key (AMPLIFICATION_ID, MARKERS_ID) ); create table PUBLIC.AMPLIFICATION_MARKER_AUD ( REV integer not null, AMPLIFICATION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, AMPLIFICATION_ID, MARKERS_ID) ); create table PUBLIC.AMPLIFICATIONRESULT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, SUCCESSTEXT varchar(255), SUCCESSFUL boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, AMPLIFICATION_ID integer, CLONING_ID integer, DNASAMPLE_ID integer, GELPHOTO_ID integer, primary key (ID) ); create table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION ( AMPLIFICATIONRESULT_ID integer not null, ANNOTATIONS_ID integer not null, primary key (AMPLIFICATIONRESULT_ID, ANNOTATIONS_ID) ); create table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION_AUD ( REV integer not null, AMPLIFICATIONRESULT_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, AMPLIFICATIONRESULT_ID, ANNOTATIONS_ID) ); create table PUBLIC.AMPLIFICATIONRESULT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, SUCCESSTEXT varchar(255), SUCCESSFUL boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, AMPLIFICATION_ID integer, CLONING_ID integer, DNASAMPLE_ID integer, GELPHOTO_ID integer, primary key (ID, REV) ); create table PUBLIC.AMPLIFICATIONRESULT_MARKER ( AMPLIFICATIONRESULT_ID integer not null, MARKERS_ID integer not null, primary key (AMPLIFICATIONRESULT_ID, MARKERS_ID) ); create table PUBLIC.AMPLIFICATIONRESULT_MARKER_AUD ( REV integer not null, AMPLIFICATIONRESULT_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, AMPLIFICATIONRESULT_ID, MARKERS_ID) ); create table PUBLIC.ANNOTATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, LINKBACKURI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, ANNOTATIONTYPE_ID integer, COMMENTATOR_ID integer, primary key (ID) ); create table PUBLIC.ANNOTATION_ANNOTATION ( ANNOTATION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (ANNOTATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.ANNOTATION_ANNOTATION_AUD ( REV integer not null, ANNOTATION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, ANNOTATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.ANNOTATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, LINKBACKURI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, ANNOTATIONTYPE_ID integer, COMMENTATOR_ID integer, primary key (ID, REV) ); create table PUBLIC.ANNOTATION_MARKER ( ANNOTATION_ID integer not null, MARKERS_ID integer not null, primary key (ANNOTATION_ID, MARKERS_ID) ); create table PUBLIC.ANNOTATION_MARKER_AUD ( REV integer not null, ANNOTATION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, ANNOTATION_ID, MARKERS_ID) ); create table PUBLIC.AUDITEVENT ( REVISIONNUMBER integer not null, DATE timestamp, TIMESTAMP bigint, UUID varchar(255), primary key (REVISIONNUMBER) ); create table PUBLIC.AUTHORITY ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), OPERATIONS varchar(255), PERMISSIONCLASS varchar(255), PROPERTY varchar(255), TARGETUUID varchar(36), ROLE varchar(255), CREATEDBY_ID integer, primary key (ID) ); create table PUBLIC.CDMLINK ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, ENDPOS integer, STARTPOS integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, TAXON_ID integer, AGENT_ID integer, ANNOTATION_ID integer, KEY_ID integer, LANGUAGESTRING_ID integer, MEDIA_ID integer, OCCURRENCE_ID integer, REFERENCE_ID integer, SOURCE_ID integer, TAXONNAME_ID integer, DESCRIPTION_ID integer, primary key (ID) ); create table PUBLIC.CDMLINK_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, TAXON_ID integer, ENDPOS integer, STARTPOS integer, AGENT_ID integer, ANNOTATION_ID integer, KEY_ID integer, LANGUAGESTRING_ID integer, MEDIA_ID integer, OCCURRENCE_ID integer, REFERENCE_ID integer, SOURCE_ID integer, TAXONNAME_ID integer, DESCRIPTION_ID integer, primary key (ID, REV) ); create table PUBLIC.CDMMETADATA ( ID integer not null, CREATED timestamp, UUID varchar(36), PROPERTYNAME varchar(20), VALUE varchar(255), CREATEDBY_ID integer, primary key (ID) ); create table PUBLIC.CDMPREFERENCE ( KEY_PREDICATE varchar(100) not null, KEY_SUBJECT varchar(100) not null, ALLOWOVERRIDE boolean not null, VALUE clob, primary key (KEY_PREDICATE, KEY_SUBJECT) ); create table PUBLIC.CLASSIFICATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, NAME_ID integer, ROOTNODE_ID integer, SOURCE_ID integer, primary key (ID) ); create table PUBLIC.CLASSIFICATION_ANNOTATION ( CLASSIFICATION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (CLASSIFICATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.CLASSIFICATION_ANNOTATION_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.CLASSIFICATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, NAME_ID integer, ROOTNODE_ID integer, SOURCE_ID integer, primary key (ID, REV) ); create table PUBLIC.CLASSIFICATION_CREDIT ( CLASSIFICATION_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (CLASSIFICATION_ID, SORTINDEX) ); create table PUBLIC.CLASSIFICATION_CREDIT_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.CLASSIFICATION_DESCRIPTION ( CLASSIFICATION_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, primary key (CLASSIFICATION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.CLASSIFICATION_DESCRIPTION_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.CLASSIFICATION_EXTENSION ( CLASSIFICATION_ID integer not null, EXTENSIONS_ID integer not null, primary key (CLASSIFICATION_ID, EXTENSIONS_ID) ); create table PUBLIC.CLASSIFICATION_EXTENSION_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, EXTENSIONS_ID) ); create table PUBLIC.CLASSIFICATION_EXTERNALLINK ( CLASSIFICATION_ID integer not null, LINKS_ID integer not null, primary key (CLASSIFICATION_ID, LINKS_ID) ); create table PUBLIC.CLASSIFICATION_EXTERNALLINK_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, LINKS_ID) ); create table PUBLIC.CLASSIFICATION_GEOSCOPE ( CLASSIFICATION_ID integer not null, GEOSCOPES_ID integer not null, primary key (CLASSIFICATION_ID, GEOSCOPES_ID) ); create table PUBLIC.CLASSIFICATION_GEOSCOPE_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, GEOSCOPES_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, GEOSCOPES_ID) ); create table PUBLIC.CLASSIFICATION_IDENTIFIER ( CLASSIFICATION_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (CLASSIFICATION_ID, SORTINDEX) ); create table PUBLIC.CLASSIFICATION_IDENTIFIER_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.CLASSIFICATION_MARKER ( CLASSIFICATION_ID integer not null, MARKERS_ID integer not null, primary key (CLASSIFICATION_ID, MARKERS_ID) ); create table PUBLIC.CLASSIFICATION_MARKER_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, MARKERS_ID) ); create table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE ( CLASSIFICATION_ID integer not null, SOURCES_ID integer not null, primary key (CLASSIFICATION_ID, SOURCES_ID) ); create table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, SOURCES_ID) ); create table PUBLIC.CLASSIFICATION_RIGHTSINFO ( CLASSIFICATION_ID integer not null, RIGHTS_ID integer not null, primary key (CLASSIFICATION_ID, RIGHTS_ID) ); create table PUBLIC.CLASSIFICATION_RIGHTSINFO_AUD ( REV integer not null, CLASSIFICATION_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, CLASSIFICATION_ID, RIGHTS_ID) ); create table PUBLIC.COLLECTION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), CODE varchar(255), CODESTANDARD varchar(255), NAME varchar(255), TOWNORLOCATION varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, INSTITUTE_ID integer, SUPERCOLLECTION_ID integer, primary key (ID) ); create table PUBLIC.COLLECTION_ANNOTATION ( COLLECTION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (COLLECTION_ID, ANNOTATIONS_ID) ); create table PUBLIC.COLLECTION_ANNOTATION_AUD ( REV integer not null, COLLECTION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, ANNOTATIONS_ID) ); create table PUBLIC.COLLECTION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), CODE varchar(255), CODESTANDARD varchar(255), NAME varchar(255), TOWNORLOCATION varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, INSTITUTE_ID integer, SUPERCOLLECTION_ID integer, primary key (ID, REV) ); create table PUBLIC.COLLECTION_CREDIT ( COLLECTION_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (COLLECTION_ID, SORTINDEX) ); create table PUBLIC.COLLECTION_CREDIT_AUD ( REV integer not null, COLLECTION_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.COLLECTION_EXTENSION ( COLLECTION_ID integer not null, EXTENSIONS_ID integer not null, primary key (COLLECTION_ID, EXTENSIONS_ID) ); create table PUBLIC.COLLECTION_EXTENSION_AUD ( REV integer not null, COLLECTION_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, EXTENSIONS_ID) ); create table PUBLIC.COLLECTION_EXTERNALLINK ( COLLECTION_ID integer not null, LINKS_ID integer not null, primary key (COLLECTION_ID, LINKS_ID) ); create table PUBLIC.COLLECTION_EXTERNALLINK_AUD ( REV integer not null, COLLECTION_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, LINKS_ID) ); create table PUBLIC.COLLECTION_IDENTIFIER ( COLLECTION_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (COLLECTION_ID, SORTINDEX) ); create table PUBLIC.COLLECTION_IDENTIFIER_AUD ( REV integer not null, COLLECTION_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.COLLECTION_MARKER ( COLLECTION_ID integer not null, MARKERS_ID integer not null, primary key (COLLECTION_ID, MARKERS_ID) ); create table PUBLIC.COLLECTION_MARKER_AUD ( REV integer not null, COLLECTION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, MARKERS_ID) ); create table PUBLIC.COLLECTION_MEDIA ( COLLECTION_ID integer not null, MEDIA_ID integer not null, primary key (COLLECTION_ID, MEDIA_ID) ); create table PUBLIC.COLLECTION_MEDIA_AUD ( REV integer not null, COLLECTION_ID integer not null, MEDIA_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, MEDIA_ID) ); create table PUBLIC.COLLECTION_ORIGINALSOURCEBASE ( COLLECTION_ID integer not null, SOURCES_ID integer not null, primary key (COLLECTION_ID, SOURCES_ID) ); create table PUBLIC.COLLECTION_ORIGINALSOURCEBASE_AUD ( REV integer not null, COLLECTION_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, SOURCES_ID) ); create table PUBLIC.COLLECTION_RIGHTSINFO ( COLLECTION_ID integer not null, RIGHTS_ID integer not null, primary key (COLLECTION_ID, RIGHTS_ID) ); create table PUBLIC.COLLECTION_RIGHTSINFO_AUD ( REV integer not null, COLLECTION_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, COLLECTION_ID, RIGHTS_ID) ); create table PUBLIC.CREDIT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, ABBREVIATEDTEXT varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, AGENT_ID integer, primary key (ID) ); create table PUBLIC.CREDIT_ANNOTATION ( CREDIT_ID integer not null, ANNOTATIONS_ID integer not null, primary key (CREDIT_ID, ANNOTATIONS_ID) ); create table PUBLIC.CREDIT_ANNOTATION_AUD ( REV integer not null, CREDIT_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, CREDIT_ID, ANNOTATIONS_ID) ); create table PUBLIC.CREDIT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, ABBREVIATEDTEXT varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, AGENT_ID integer, primary key (ID, REV) ); create table PUBLIC.CREDIT_MARKER ( CREDIT_ID integer not null, MARKERS_ID integer not null, primary key (CREDIT_ID, MARKERS_ID) ); create table PUBLIC.CREDIT_MARKER_AUD ( REV integer not null, CREDIT_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, CREDIT_ID, MARKERS_ID) ); create table PUBLIC.DEFINEDTERMBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), TERMTYPE varchar(255), URI clob, AUTHORITYTYPE varchar(10), EXTERNALID varchar(255), EXTERNALLINK clob, IMPORTMETHOD varchar(30), LASTRETRIEVED timestamp, IDINVOCABULARY varchar(255), SYMBOL varchar(30), SYMBOL2 varchar(30), AVAILABLEFOR varchar(255), ISO639_1 varchar(2), ISTECHNICAL boolean, ORDERINDEX integer, INVERSESYMBOL varchar(30), SYMMETRICAL boolean, TRANSITIVE boolean, SUPPORTEDDATATYPES varchar(255), ABSENCETERM boolean, DEFAULTCOLOR varchar(255), POINTAPPROXIMATION_ERRORRADIUS integer, POINTAPPROXIMATION_LATITUDE double, POINTAPPROXIMATION_LONGITUDE double, VALIDPERIOD_END varchar(255), VALIDPERIOD_FREETEXT varchar(255), VALIDPERIOD_START varchar(255), ISO3166_A2 varchar(2), NOMENCLATURALSTANDING varchar(255), NOMENCLATURALSTANDINGINVERSE varchar(255), RANKCLASS varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, KINDOF_ID integer, PARTOF_ID integer, VOCABULARY_ID integer, PROPERTY_ID integer, PROPERTYMODIFIER_ID integer, RATIOTOSTRUCTURE_ID integer, STRUCTURE_ID integer, STRUCTUREMODIFIER_ID integer, LEVEL_ID integer, POINTAPPROXIMATION_REFERENCESYSTEM_ID integer, SHAPE_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.DEFINEDTERMBASE_ANNOTATION ( DEFINEDTERMBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (DEFINEDTERMBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_ANNOTATION_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), TERMTYPE varchar(255), URI clob, AUTHORITYTYPE varchar(10), EXTERNALID varchar(255), EXTERNALLINK clob, IMPORTMETHOD varchar(30), LASTRETRIEVED timestamp, IDINVOCABULARY varchar(255), SYMBOL varchar(30), SYMBOL2 varchar(30), CREATEDBY_ID integer, UPDATEDBY_ID integer, KINDOF_ID integer, PARTOF_ID integer, VOCABULARY_ID integer, AVAILABLEFOR varchar(255), SUPPORTEDDATATYPES varchar(255), PROPERTY_ID integer, PROPERTYMODIFIER_ID integer, RATIOTOSTRUCTURE_ID integer, STRUCTURE_ID integer, STRUCTUREMODIFIER_ID integer, ISTECHNICAL boolean, ISO639_1 varchar(2), ORDERINDEX integer, RANKCLASS varchar(255), NOMENCLATURALSTANDING varchar(255), POINTAPPROXIMATION_ERRORRADIUS integer, POINTAPPROXIMATION_LATITUDE double, POINTAPPROXIMATION_LONGITUDE double, VALIDPERIOD_END varchar(255), VALIDPERIOD_FREETEXT varchar(255), VALIDPERIOD_START varchar(255), LEVEL_ID integer, POINTAPPROXIMATION_REFERENCESYSTEM_ID integer, SHAPE_ID integer, TYPE_ID integer, ISO3166_A2 varchar(2), ABSENCETERM boolean, DEFAULTCOLOR varchar(255), INVERSESYMBOL varchar(30), SYMMETRICAL boolean, TRANSITIVE boolean, NOMENCLATURALSTANDINGINVERSE varchar(255), primary key (ID, REV) ); create table PUBLIC.DEFINEDTERMBASE_CONTINENT ( COUNTRY_ID integer not null, CONTINENTS_ID integer not null, primary key (COUNTRY_ID, CONTINENTS_ID) ); create table PUBLIC.DEFINEDTERMBASE_CONTINENT_AUD ( REV integer not null, COUNTRY_ID integer not null, CONTINENTS_ID integer not null, REVTYPE tinyint, primary key (REV, COUNTRY_ID, CONTINENTS_ID) ); create table PUBLIC.DEFINEDTERMBASE_COUNTRY ( NAMEDAREA_ID integer not null, COUNTRIES_ID integer not null, primary key (NAMEDAREA_ID, COUNTRIES_ID) ); create table PUBLIC.DEFINEDTERMBASE_COUNTRY_AUD ( REV integer not null, NAMEDAREA_ID integer not null, COUNTRIES_ID integer not null, REVTYPE tinyint, primary key (REV, NAMEDAREA_ID, COUNTRIES_ID) ); create table PUBLIC.DEFINEDTERMBASE_CREDIT ( DEFINEDTERMBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (DEFINEDTERMBASE_ID, SORTINDEX) ); create table PUBLIC.DEFINEDTERMBASE_CREDIT_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.DEFINEDTERMBASE_EXTENSION ( DEFINEDTERMBASE_ID integer not null, EXTENSIONS_ID integer not null, primary key (DEFINEDTERMBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_EXTENSION_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK ( DEFINEDTERMBASE_ID integer not null, LINKS_ID integer not null, primary key (DEFINEDTERMBASE_ID, LINKS_ID) ); create table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, LINKS_ID) ); create table PUBLIC.DEFINEDTERMBASE_IDENTIFIER ( DEFINEDTERMBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (DEFINEDTERMBASE_ID, SORTINDEX) ); create table PUBLIC.DEFINEDTERMBASE_IDENTIFIER_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION ( DEFINEDTERMBASE_ID integer not null, INVERSEREPRESENTATIONS_ID integer not null, primary key (DEFINEDTERMBASE_ID, INVERSEREPRESENTATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, INVERSEREPRESENTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, INVERSEREPRESENTATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_MARKER ( DEFINEDTERMBASE_ID integer not null, MARKERS_ID integer not null, primary key (DEFINEDTERMBASE_ID, MARKERS_ID) ); create table PUBLIC.DEFINEDTERMBASE_MARKER_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, MARKERS_ID) ); create table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT ( FEATURE_ID integer not null, RECOMMENDEDMEASUREMENTUNITS_ID integer not null, primary key (FEATURE_ID, RECOMMENDEDMEASUREMENTUNITS_ID) ); create table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT_AUD ( REV integer not null, FEATURE_ID integer not null, RECOMMENDEDMEASUREMENTUNITS_ID integer not null, REVTYPE tinyint, primary key (REV, FEATURE_ID, RECOMMENDEDMEASUREMENTUNITS_ID) ); create table PUBLIC.DEFINEDTERMBASE_MEDIA ( DEFINEDTERMBASE_ID integer not null, MEDIA_ID integer not null, primary key (DEFINEDTERMBASE_ID, MEDIA_ID) ); create table PUBLIC.DEFINEDTERMBASE_MEDIA_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, MEDIA_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, MEDIA_ID) ); create table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE ( DEFINEDTERMBASE_ID integer not null, SOURCES_ID integer not null, primary key (DEFINEDTERMBASE_ID, SOURCES_ID) ); create table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, SOURCES_ID) ); create table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION ( FEATURE_ID integer not null, RECOMMENDEDMODIFIERENUMERATION_ID integer not null, primary key (FEATURE_ID, RECOMMENDEDMODIFIERENUMERATION_ID) ); create table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION_AUD ( REV integer not null, FEATURE_ID integer not null, RECOMMENDEDMODIFIERENUMERATION_ID integer not null, REVTYPE tinyint, primary key (REV, FEATURE_ID, RECOMMENDEDMODIFIERENUMERATION_ID) ); create table PUBLIC.DEFINEDTERMBASE_REPRESENTATION ( DEFINEDTERMBASE_ID integer not null, REPRESENTATIONS_ID integer not null, primary key (DEFINEDTERMBASE_ID, REPRESENTATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_REPRESENTATION_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, REPRESENTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, REPRESENTATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO ( DEFINEDTERMBASE_ID integer not null, RIGHTS_ID integer not null, primary key (DEFINEDTERMBASE_ID, RIGHTS_ID) ); create table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO_AUD ( REV integer not null, DEFINEDTERMBASE_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, DEFINEDTERMBASE_ID, RIGHTS_ID) ); create table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE ( FEATURE_ID integer not null, RECOMMENDEDSTATISTICALMEASURES_ID integer not null, primary key (FEATURE_ID, RECOMMENDEDSTATISTICALMEASURES_ID) ); create table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE_AUD ( REV integer not null, FEATURE_ID integer not null, RECOMMENDEDSTATISTICALMEASURES_ID integer not null, REVTYPE tinyint, primary key (REV, FEATURE_ID, RECOMMENDEDSTATISTICALMEASURES_ID) ); create table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION ( FEATURE_ID integer not null, SUPPORTEDCATEGORICALENUMERATIONS_ID integer not null, primary key (FEATURE_ID, SUPPORTEDCATEGORICALENUMERATIONS_ID) ); create table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION_AUD ( REV integer not null, FEATURE_ID integer not null, SUPPORTEDCATEGORICALENUMERATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, FEATURE_ID, SUPPORTEDCATEGORICALENUMERATIONS_ID) ); create table PUBLIC.DERIVATIONEVENT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, INSTITUTION_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.DERIVATIONEVENT_ANNOTATION ( DERIVATIONEVENT_ID integer not null, ANNOTATIONS_ID integer not null, primary key (DERIVATIONEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.DERIVATIONEVENT_ANNOTATION_AUD ( REV integer not null, DERIVATIONEVENT_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DERIVATIONEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.DERIVATIONEVENT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, INSTITUTION_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.DERIVATIONEVENT_MARKER ( DERIVATIONEVENT_ID integer not null, MARKERS_ID integer not null, primary key (DERIVATIONEVENT_ID, MARKERS_ID) ); create table PUBLIC.DERIVATIONEVENT_MARKER_AUD ( REV integer not null, DERIVATIONEVENT_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, DERIVATIONEVENT_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIONBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), IMAGEGALLERY boolean not null, ISDEFAULT boolean not null, TYPES varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SPECIMEN_ID integer, TAXON_ID integer, TAXONNAME_ID integer, primary key (ID) ); create table PUBLIC.DESCRIPTIONBASE_ANNOTATION ( DESCRIPTIONBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (DESCRIPTIONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.DESCRIPTIONBASE_ANNOTATION_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.DESCRIPTIONBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), IMAGEGALLERY boolean, ISDEFAULT boolean, TYPES varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SPECIMEN_ID integer, TAXONNAME_ID integer, TAXON_ID integer, primary key (ID, REV) ); create table PUBLIC.DESCRIPTIONBASE_CREDIT ( DESCRIPTIONBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (DESCRIPTIONBASE_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIONBASE_CREDIT_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIONBASE_EXTENSION ( DESCRIPTIONBASE_ID integer not null, EXTENSIONS_ID integer not null, primary key (DESCRIPTIONBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.DESCRIPTIONBASE_EXTENSION_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK ( DESCRIPTIONBASE_ID integer not null, LINKS_ID integer not null, primary key (DESCRIPTIONBASE_ID, LINKS_ID) ); create table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, LINKS_ID) ); create table PUBLIC.DESCRIPTIONBASE_GEOSCOPE ( TAXONDESCRIPTION_ID integer not null, GEOSCOPES_ID integer not null, primary key (TAXONDESCRIPTION_ID, GEOSCOPES_ID) ); create table PUBLIC.DESCRIPTIONBASE_GEOSCOPE_AUD ( REV integer not null, TAXONDESCRIPTION_ID integer not null, GEOSCOPES_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONDESCRIPTION_ID, GEOSCOPES_ID) ); create table PUBLIC.DESCRIPTIONBASE_IDENTIFIER ( DESCRIPTIONBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (DESCRIPTIONBASE_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIONBASE_IDENTIFIER_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIONBASE_MARKER ( DESCRIPTIONBASE_ID integer not null, MARKERS_ID integer not null, primary key (DESCRIPTIONBASE_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIONBASE_MARKER_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE ( DESCRIPTIONBASE_ID integer not null, SOURCES_ID integer not null, primary key (DESCRIPTIONBASE_ID, SOURCES_ID) ); create table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, SOURCES_ID) ); create table PUBLIC.DESCRIPTIONBASE_REFERENCE ( DESCRIPTIONBASE_ID integer not null, DESCRIPTIONSOURCES_ID integer not null, primary key (DESCRIPTIONBASE_ID, DESCRIPTIONSOURCES_ID) ); create table PUBLIC.DESCRIPTIONBASE_REFERENCE_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, DESCRIPTIONSOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, DESCRIPTIONSOURCES_ID) ); create table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO ( DESCRIPTIONBASE_ID integer not null, RIGHTS_ID integer not null, primary key (DESCRIPTIONBASE_ID, RIGHTS_ID) ); create table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO_AUD ( REV integer not null, DESCRIPTIONBASE_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONBASE_ID, RIGHTS_ID) ); create table PUBLIC.DESCRIPTIONBASE_SCOPE ( TAXONDESCRIPTION_ID integer not null, SCOPES_ID integer not null, primary key (TAXONDESCRIPTION_ID, SCOPES_ID) ); create table PUBLIC.DESCRIPTIONBASE_SCOPE_AUD ( REV integer not null, TAXONDESCRIPTION_ID integer not null, SCOPES_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONDESCRIPTION_ID, SCOPES_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, SORTINDEX integer, TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), ORDERRELEVANT boolean, UNKNOWNDATA boolean, NAME varchar(255), PERIOD_EXTREMEEND varchar(255), PERIOD_EXTREMESTART varchar(255), PERIOD_END varchar(255), PERIOD_FREETEXT varchar(255), PERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, FEATURE_ID integer, INDESCRIPTION_ID integer, AREA_ID integer, LANGUAGE_ID integer, STATUS_ID integer, ASSOCIATEDSPECIMENOROBSERVATION_ID integer, UNIT_ID integer, TAXON2_ID integer, FORMAT_ID integer, primary key (ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION ( DESCRIPTIONELEMENTBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (DESCRIPTIONELEMENTBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION_AUD ( REV integer not null, DESCRIPTIONELEMENTBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONELEMENTBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, SORTINDEX integer, TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, FEATURE_ID integer, INDESCRIPTION_ID integer, PERIOD_EXTREMEEND varchar(255), PERIOD_EXTREMESTART varchar(255), PERIOD_END varchar(255), PERIOD_FREETEXT varchar(255), PERIOD_START varchar(255), ASSOCIATEDSPECIMENOROBSERVATION_ID integer, FORMAT_ID integer, TAXON2_ID integer, UNKNOWNDATA boolean, UNIT_ID integer, NAME varchar(255), AREA_ID integer, LANGUAGE_ID integer, ORDERRELEVANT boolean, STATUS_ID integer, primary key (ID, REV) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING ( TEXTDATA_ID integer not null, MULTILANGUAGETEXT_ID integer not null, MULTILANGUAGETEXT_MAPKEY_ID integer not null, primary key (TEXTDATA_ID, MULTILANGUAGETEXT_MAPKEY_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING_AUD ( REV integer not null, TEXTDATA_ID integer not null, MULTILANGUAGETEXT_ID integer not null, MULTILANGUAGETEXT_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, TEXTDATA_ID, MULTILANGUAGETEXT_ID, MULTILANGUAGETEXT_MAPKEY_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER ( DESCRIPTIONELEMENTBASE_ID integer not null, MARKERS_ID integer not null, primary key (DESCRIPTIONELEMENTBASE_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER_AUD ( REV integer not null, DESCRIPTIONELEMENTBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONELEMENTBASE_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA ( DESCRIPTIONELEMENTBASE_ID integer not null, MEDIA_ID integer not null, SORTINDEX integer not null, primary key (DESCRIPTIONELEMENTBASE_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA_AUD ( REV integer not null, DESCRIPTIONELEMENTBASE_ID integer not null, MEDIA_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONELEMENTBASE_ID, MEDIA_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER ( DESCRIPTIONELEMENTBASE_ID integer not null, MODIFIERS_ID integer not null, primary key (DESCRIPTIONELEMENTBASE_ID, MODIFIERS_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER_AUD ( REV integer not null, DESCRIPTIONELEMENTBASE_ID integer not null, MODIFIERS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONELEMENTBASE_ID, MODIFIERS_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT ( DESCRIPTIONELEMENTBASE_ID integer not null, MODIFYINGTEXT_ID integer not null, MODIFYINGTEXT_MAPKEY_ID integer not null, primary key (DESCRIPTIONELEMENTBASE_ID, MODIFYINGTEXT_MAPKEY_ID) ); create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT_AUD ( REV integer not null, DESCRIPTIONELEMENTBASE_ID integer not null, MODIFYINGTEXT_ID integer not null, MODIFYINGTEXT_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIONELEMENTBASE_ID, MODIFYINGTEXT_ID, MODIFYINGTEXT_MAPKEY_ID) ); create table PUBLIC.DESCRIPTIVEDATASET ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), CREATEDBY_ID integer, UPDATEDBY_ID integer, DESCRIPTIVESYSTEM_ID integer, MAXRANK_ID integer, MINRANK_ID integer, primary key (ID) ); create table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION ( DESCRIPTIVEDATASET_ID integer not null, ANNOTATIONS_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, ANNOTATIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, ANNOTATIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), CREATEDBY_ID integer, UPDATEDBY_ID integer, DESCRIPTIVESYSTEM_ID integer, MAXRANK_ID integer, MINRANK_ID integer, primary key (ID, REV) ); create table PUBLIC.DESCRIPTIVEDATASET_CREDIT ( DESCRIPTIVEDATASET_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (DESCRIPTIVEDATASET_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIVEDATASET_CREDIT_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE ( DESCRIPTIVEDATASETS_ID integer not null, DESCRIPTIONS_ID integer not null, primary key (DESCRIPTIVEDATASETS_ID, DESCRIPTIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE_AUD ( REV integer not null, DESCRIPTIVEDATASETS_ID integer not null, DESCRIPTIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASETS_ID, DESCRIPTIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_EXTENSION ( DESCRIPTIVEDATASET_ID integer not null, EXTENSIONS_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, EXTENSIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_EXTENSION_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, EXTENSIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK ( DESCRIPTIVEDATASET_ID integer not null, LINKS_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, LINKS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, LINKS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER ( DESCRIPTIVEDATASET_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (DESCRIPTIVEDATASET_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.DESCRIPTIVEDATASET_MARKER ( DESCRIPTIVEDATASET_ID integer not null, MARKERS_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_MARKER_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, MARKERS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA ( DESCRIPTIVEDATASET_ID integer not null, GEOFILTER_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, GEOFILTER_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, GEOFILTER_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, GEOFILTER_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE ( DESCRIPTIVEDATASET_ID integer not null, SOURCES_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, SOURCES_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, SOURCES_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION ( DESCRIPTIVEDATASET_ID integer not null, REPRESENTATIONS_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, REPRESENTATIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, REPRESENTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, REPRESENTATIONS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO ( DESCRIPTIVEDATASET_ID integer not null, RIGHTS_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, RIGHTS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, RIGHTS_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE ( DESCRIPTIVEDATASET_ID integer not null, TAXONSUBTREEFILTER_ID integer not null, primary key (DESCRIPTIVEDATASET_ID, TAXONSUBTREEFILTER_ID) ); create table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE_AUD ( REV integer not null, DESCRIPTIVEDATASET_ID integer not null, TAXONSUBTREEFILTER_ID integer not null, REVTYPE tinyint, primary key (REV, DESCRIPTIVEDATASET_ID, TAXONSUBTREEFILTER_ID) ); create table PUBLIC.DETERMINATIONEVENT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), PREFERREDFLAG boolean not null, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, IDENTIFIEDUNIT_ID integer, MODIFIER_ID integer, TAXON_ID integer, TAXONNAME_ID integer, primary key (ID) ); create table PUBLIC.DETERMINATIONEVENT_ANNOTATION ( DETERMINATIONEVENT_ID integer not null, ANNOTATIONS_ID integer not null, primary key (DETERMINATIONEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.DETERMINATIONEVENT_ANNOTATION_AUD ( REV integer not null, DETERMINATIONEVENT_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, DETERMINATIONEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.DETERMINATIONEVENT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), PREFERREDFLAG boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, IDENTIFIEDUNIT_ID integer, MODIFIER_ID integer, TAXON_ID integer, TAXONNAME_ID integer, primary key (ID, REV) ); create table PUBLIC.DETERMINATIONEVENT_MARKER ( DETERMINATIONEVENT_ID integer not null, MARKERS_ID integer not null, primary key (DETERMINATIONEVENT_ID, MARKERS_ID) ); create table PUBLIC.DETERMINATIONEVENT_MARKER_AUD ( REV integer not null, DETERMINATIONEVENT_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, DETERMINATIONEVENT_ID, MARKERS_ID) ); create table PUBLIC.DETERMINATIONEVENT_REFERENCE ( DETERMINATIONEVENT_ID integer not null, REFERENCES_ID integer not null, primary key (DETERMINATIONEVENT_ID, REFERENCES_ID) ); create table PUBLIC.DETERMINATIONEVENT_REFERENCE_AUD ( REV integer not null, DETERMINATIONEVENT_ID integer not null, REFERENCES_ID integer not null, REVTYPE tinyint, primary key (REV, DETERMINATIONEVENT_ID, REFERENCES_ID) ); create table PUBLIC.DNAQUALITY ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CONCENTRATION double, PURIFICATIONMETHOD varchar(255), QUALITYCHECKDATE timestamp, RATIOOFABSORBANCE260_230 double, RATIOOFABSORBANCE260_280 double, CREATEDBY_ID integer, UPDATEDBY_ID integer, CONCENTRATIONUNIT_ID integer, QUALITYTERM_ID integer, TYPEDPURIFICATIONMETHOD_ID integer, primary key (ID) ); create table PUBLIC.DNAQUALITY_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CONCENTRATION double, PURIFICATIONMETHOD varchar(255), QUALITYCHECKDATE timestamp, RATIOOFABSORBANCE260_230 double, RATIOOFABSORBANCE260_280 double, CREATEDBY_ID integer, UPDATEDBY_ID integer, CONCENTRATIONUNIT_ID integer, QUALITYTERM_ID integer, TYPEDPURIFICATIONMETHOD_ID integer, primary key (ID, REV) ); create table PUBLIC.ENTITYCONSTRAINTVIOLATION ( ID integer not null, CREATED timestamp, UUID varchar(36), INVALIDVALUE varchar(255), MESSAGE varchar(255), PROPERTYPATH varchar(255), SEVERITY varchar(255), USERFRIENDLYFIELDNAME varchar(255), VALIDATIONGROUP varchar(255), VALIDATOR varchar(255), CREATEDBY_ID integer, ENTITYVALIDATION_ID integer, primary key (ID) ); create table PUBLIC.ENTITYVALIDATION ( ID integer not null, CREATED timestamp, UUID varchar(36), CRUDEVENTTYPE varchar(255), STATUS varchar(255), UPDATED timestamp, USERFRIENDLYDESCRIPTION varchar(255), USERFRIENDLYTYPENAME varchar(255), VALIDATEDENTITYCLASS varchar(255), VALIDATEDENTITYID integer not null, VALIDATEDENTITYUUID varchar(36), VALIDATIONCOUNT integer not null, CREATEDBY_ID integer, primary key (ID) ); create table PUBLIC.EXTENSION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, VALUE clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.EXTENSION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, VALUE clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.EXTERNALLINK ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LINKTYPE varchar(10), SIZE integer, URI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID) ); create table PUBLIC.EXTERNALLINK_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LINKTYPE varchar(10), SIZE integer, URI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID, REV) ); create table PUBLIC.EXTERNALLINK_LANGUAGESTRING ( EXTERNALLINK_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, primary key (EXTERNALLINK_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.EXTERNALLINK_LANGUAGESTRING_AUD ( REV integer not null, EXTERNALLINK_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, EXTERNALLINK_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.FEATURESTATE ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, FEATURE_ID integer, STATE_ID integer, primary key (ID) ); create table PUBLIC.FEATURESTATE_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, FEATURE_ID integer, STATE_ID integer, primary key (ID, REV) ); create table PUBLIC.GATHERINGEVENT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), ABSOLUTEELEVATION integer, ABSOLUTEELEVATIONMAX integer, ABSOLUTEELEVATIONTEXT varchar(30), COLLECTINGMETHOD varchar(255), DISTANCETOGROUND double, DISTANCETOGROUNDMAX double, DISTANCETOGROUNDTEXT varchar(30), DISTANCETOWATERSURFACE double, DISTANCETOWATERSURFACEMAX double, DISTANCETOWATERSURFACETEXT varchar(30), EXACTLOCATION_ERRORRADIUS integer, EXACTLOCATION_LATITUDE double, EXACTLOCATION_LONGITUDE double, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, COUNTRY_ID integer, EXACTLOCATION_REFERENCESYSTEM_ID integer, LOCALITY_ID integer, primary key (ID) ); create table PUBLIC.GATHERINGEVENT_ANNOTATION ( GATHERINGEVENT_ID integer not null, ANNOTATIONS_ID integer not null, primary key (GATHERINGEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.GATHERINGEVENT_ANNOTATION_AUD ( REV integer not null, GATHERINGEVENT_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, GATHERINGEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.GATHERINGEVENT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), ABSOLUTEELEVATION integer, ABSOLUTEELEVATIONMAX integer, ABSOLUTEELEVATIONTEXT varchar(30), COLLECTINGMETHOD varchar(255), DISTANCETOGROUND double, DISTANCETOGROUNDMAX double, DISTANCETOGROUNDTEXT varchar(30), DISTANCETOWATERSURFACE double, DISTANCETOWATERSURFACEMAX double, DISTANCETOWATERSURFACETEXT varchar(30), EXACTLOCATION_ERRORRADIUS integer, EXACTLOCATION_LATITUDE double, EXACTLOCATION_LONGITUDE double, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, COUNTRY_ID integer, EXACTLOCATION_REFERENCESYSTEM_ID integer, LOCALITY_ID integer, primary key (ID, REV) ); create table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE ( GATHERINGEVENT_ID integer not null, COLLECTINGAREAS_ID integer not null, primary key (GATHERINGEVENT_ID, COLLECTINGAREAS_ID) ); create table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE_AUD ( REV integer not null, GATHERINGEVENT_ID integer not null, COLLECTINGAREAS_ID integer not null, REVTYPE tinyint, primary key (REV, GATHERINGEVENT_ID, COLLECTINGAREAS_ID) ); create table PUBLIC.GATHERINGEVENT_MARKER ( GATHERINGEVENT_ID integer not null, MARKERS_ID integer not null, primary key (GATHERINGEVENT_ID, MARKERS_ID) ); create table PUBLIC.GATHERINGEVENT_MARKER_AUD ( REV integer not null, GATHERINGEVENT_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, GATHERINGEVENT_ID, MARKERS_ID) ); create table PUBLIC.GRANTEDAUTHORITYIMPL ( ID integer not null, CREATED timestamp, UUID varchar(36), AUTHORITY varchar(255), CREATEDBY_ID integer, primary key (ID) ); create table PUBLIC.HIBERNATE_SEQUENCES ( sequence_name varchar(255) not null, next_val bigint, primary key (sequence_name) ); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('LANGUAGESTRING',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIAMETADATA',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ENTITYVALIDATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('RIGHTSINFO',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('FEATURESTATE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONNAME',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('POLYTOMOUSKEY',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TERMRELATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('COLLECTION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DEFINEDTERMBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CREDIT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CDMLINK',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DESCRIPTIONELEMENTBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('STATEDATA',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TYPEDESIGNATIONBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('REGISTRATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('POLYTOMOUSKEYNODE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DESCRIPTIVEDATASET',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('HYBRIDRELATIONSHIP',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('GRANTEDAUTHORITYIMPL',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('INSTITUTIONALMEMBERSHIP',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIAREPRESENTATIONPART',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DESCRIPTIONBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('HOMOTYPICALGROUP',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('REFERENCE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('USERACCOUNT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONOMICOPERATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONNODEAGENTRELATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DETERMINATIONEVENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MATERIALORMETHODEVENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SPECIMENOROBSERVATIONBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('KEYSTATEMENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AMPLIFICATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('NAMERELATIONSHIP',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ANNOTATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ENTITYCONSTRAINTVIOLATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('NOMENCLATURALSTATUS',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SEQUENCE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('EXTERNALLINK',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('REPRESENTATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CLASSIFICATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('PRIMER',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DERIVATIONEVENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SINGLEREADALIGNMENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SINGLEREAD',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIA',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DNAQUALITY',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TERMCOLLECTION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('GATHERINGEVENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AUDITEVENT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('OCCURRENCESTATUS',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AMPLIFICATIONRESULT',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('STATISTICALMEASUREMENTVALUE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ORIGINALSOURCEBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MARKER',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('LSIDAUTHORITY',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('IDENTIFIER',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ADDRESS',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AGENTBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONRELATIONSHIP',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIAREPRESENTATION',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONNODE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('PERMISSIONGROUP',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AUTHORITY',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONBASE',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CDMMETADATA',9); insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('EXTENSION',9); create table PUBLIC.HOMOTYPICALGROUP ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID) ); create table PUBLIC.HOMOTYPICALGROUP_ANNOTATION ( HOMOTYPICALGROUP_ID integer not null, ANNOTATIONS_ID integer not null, primary key (HOMOTYPICALGROUP_ID, ANNOTATIONS_ID) ); create table PUBLIC.HOMOTYPICALGROUP_ANNOTATION_AUD ( REV integer not null, HOMOTYPICALGROUP_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, HOMOTYPICALGROUP_ID, ANNOTATIONS_ID) ); create table PUBLIC.HOMOTYPICALGROUP_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID, REV) ); create table PUBLIC.HOMOTYPICALGROUP_MARKER ( HOMOTYPICALGROUP_ID integer not null, MARKERS_ID integer not null, primary key (HOMOTYPICALGROUP_ID, MARKERS_ID) ); create table PUBLIC.HOMOTYPICALGROUP_MARKER_AUD ( REV integer not null, HOMOTYPICALGROUP_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, HOMOTYPICALGROUP_ID, MARKERS_ID) ); create table PUBLIC.HYBRIDRELATIONSHIP ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DOUBTFUL boolean not null, CODEEDITION varchar(20), RULECONSIDERED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, RELATEDFROM_ID integer, RELATEDTO_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION ( HYBRIDRELATIONSHIP_ID integer not null, ANNOTATIONS_ID integer not null, primary key (HYBRIDRELATIONSHIP_ID, ANNOTATIONS_ID) ); create table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION_AUD ( REV integer not null, HYBRIDRELATIONSHIP_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, HYBRIDRELATIONSHIP_ID, ANNOTATIONS_ID) ); create table PUBLIC.HYBRIDRELATIONSHIP_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DOUBTFUL boolean, CODEEDITION varchar(20), RULECONSIDERED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, RELATEDFROM_ID integer, RELATEDTO_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.HYBRIDRELATIONSHIP_MARKER ( HYBRIDRELATIONSHIP_ID integer not null, MARKERS_ID integer not null, primary key (HYBRIDRELATIONSHIP_ID, MARKERS_ID) ); create table PUBLIC.HYBRIDRELATIONSHIP_MARKER_AUD ( REV integer not null, HYBRIDRELATIONSHIP_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, HYBRIDRELATIONSHIP_ID, MARKERS_ID) ); create table PUBLIC.IDENTIFIER ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, IDENTIFIER varchar(800), CREATEDBY_ID integer, UPDATEDBY_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.IDENTIFIER_ANNOTATION ( IDENTIFIER_ID integer not null, ANNOTATIONS_ID integer not null, primary key (IDENTIFIER_ID, ANNOTATIONS_ID) ); create table PUBLIC.IDENTIFIER_ANNOTATION_AUD ( REV integer not null, IDENTIFIER_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, IDENTIFIER_ID, ANNOTATIONS_ID) ); create table PUBLIC.IDENTIFIER_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, IDENTIFIER varchar(800), CREATEDBY_ID integer, UPDATEDBY_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.IDENTIFIER_MARKER ( IDENTIFIER_ID integer not null, MARKERS_ID integer not null, primary key (IDENTIFIER_ID, MARKERS_ID) ); create table PUBLIC.IDENTIFIER_MARKER_AUD ( REV integer not null, IDENTIFIER_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, IDENTIFIER_ID, MARKERS_ID) ); create table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING ( INDIVIDUALSASSOCIATION_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, primary key (INDIVIDUALSASSOCIATION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING_AUD ( REV integer not null, INDIVIDUALSASSOCIATION_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, INDIVIDUALSASSOCIATION_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.INSTITUTIONALMEMBERSHIP ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DEPARTMENT varchar(255), PERIOD_END varchar(255), PERIOD_FREETEXT varchar(255), PERIOD_START varchar(255), ROLE varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, INSTITUTE_ID integer, PERSON_ID integer, primary key (ID) ); create table PUBLIC.INSTITUTIONALMEMBERSHIP_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DEPARTMENT varchar(255), PERIOD_END varchar(255), PERIOD_FREETEXT varchar(255), PERIOD_START varchar(255), ROLE varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, INSTITUTE_ID integer, PERSON_ID integer, primary key (ID, REV) ); create table PUBLIC.KEYSTATEMENT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID) ); create table PUBLIC.KEYSTATEMENT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID, REV) ); create table PUBLIC.KEYSTATEMENT_LANGUAGESTRING ( KEYSTATEMENT_ID integer not null, LABEL_ID integer not null, LABEL_MAPKEY_ID integer not null, primary key (KEYSTATEMENT_ID, LABEL_MAPKEY_ID) ); create table PUBLIC.KEYSTATEMENT_LANGUAGESTRING_AUD ( REV integer not null, KEYSTATEMENT_ID integer not null, LABEL_ID integer not null, LABEL_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, KEYSTATEMENT_ID, LABEL_ID, LABEL_MAPKEY_ID) ); create table PUBLIC.LANGUAGESTRING ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, primary key (ID) ); create table PUBLIC.LANGUAGESTRING_ANNOTATION ( LANGUAGESTRING_ID integer not null, ANNOTATIONS_ID integer not null, primary key (LANGUAGESTRING_ID, ANNOTATIONS_ID) ); create table PUBLIC.LANGUAGESTRING_ANNOTATION_AUD ( REV integer not null, LANGUAGESTRING_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, LANGUAGESTRING_ID, ANNOTATIONS_ID) ); create table PUBLIC.LANGUAGESTRING_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, primary key (ID, REV) ); create table PUBLIC.LANGUAGESTRING_MARKER ( LANGUAGESTRING_ID integer not null, MARKERS_ID integer not null, primary key (LANGUAGESTRING_ID, MARKERS_ID) ); create table PUBLIC.LANGUAGESTRING_MARKER_AUD ( REV integer not null, LANGUAGESTRING_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, LANGUAGESTRING_ID, MARKERS_ID) ); create table PUBLIC.LSIDAUTHORITY ( ID integer not null, CREATED timestamp, UUID varchar(36), AUTHORITY varchar(255), AUTHORITYWSDL clob, PORT integer not null, SERVER varchar(255), URL varchar(255), CREATEDBY_ID integer, primary key (ID) ); create table PUBLIC.LSIDAUTHORITY_NAMESPACES ( LSIDAUTHORITY_ID integer not null, NAMESPACES_ELEMENT varchar(255), NAMESPACES_MAPKEY varchar(255) not null, primary key (LSIDAUTHORITY_ID, NAMESPACES_MAPKEY) ); create table PUBLIC.MARKER ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, FLAG boolean not null, CREATEDBY_ID integer, UPDATEDBY_ID integer, MARKERTYPE_ID integer, primary key (ID) ); create table PUBLIC.MARKER_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, FLAG boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, MARKERTYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.MATERIALORMETHODEVENT ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), STRAIN varchar(100), TEMPERATURE double, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, DEFINEDMATERIALORMETHOD_ID integer, FORWARDPRIMER_ID integer, REVERSEPRIMER_ID integer, MEDIUM_ID integer, primary key (ID) ); create table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION ( MATERIALORMETHODEVENT_ID integer not null, ANNOTATIONS_ID integer not null, primary key (MATERIALORMETHODEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION_AUD ( REV integer not null, MATERIALORMETHODEVENT_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, MATERIALORMETHODEVENT_ID, ANNOTATIONS_ID) ); create table PUBLIC.MATERIALORMETHODEVENT_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, DEFINEDMATERIALORMETHOD_ID integer, TEMPERATURE double, MEDIUM_ID integer, STRAIN varchar(100), FORWARDPRIMER_ID integer, REVERSEPRIMER_ID integer, primary key (ID, REV) ); create table PUBLIC.MATERIALORMETHODEVENT_MARKER ( MATERIALORMETHODEVENT_ID integer not null, MARKERS_ID integer not null, primary key (MATERIALORMETHODEVENT_ID, MARKERS_ID) ); create table PUBLIC.MATERIALORMETHODEVENT_MARKER_AUD ( REV integer not null, MATERIALORMETHODEVENT_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, MATERIALORMETHODEVENT_ID, MARKERS_ID) ); create table PUBLIC.MEDIA ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), MEDIACREATED_END varchar(255), MEDIACREATED_FREETEXT varchar(255), MEDIACREATED_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ARTIST_ID integer, LINK_ID integer, primary key (ID) ); create table PUBLIC.MEDIA_ANNOTATION ( MEDIA_ID integer not null, ANNOTATIONS_ID integer not null, primary key (MEDIA_ID, ANNOTATIONS_ID) ); create table PUBLIC.MEDIA_ANNOTATION_AUD ( REV integer not null, MEDIA_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, ANNOTATIONS_ID) ); create table PUBLIC.MEDIA_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), MEDIACREATED_END varchar(255), MEDIACREATED_FREETEXT varchar(255), MEDIACREATED_START varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, ARTIST_ID integer, LINK_ID integer, primary key (ID, REV) ); create table PUBLIC.MEDIA_CREDIT ( MEDIA_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (MEDIA_ID, SORTINDEX) ); create table PUBLIC.MEDIA_CREDIT_AUD ( REV integer not null, MEDIA_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.MEDIA_DESCRIPTION ( MEDIA_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, primary key (MEDIA_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.MEDIA_DESCRIPTION_AUD ( REV integer not null, MEDIA_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.MEDIA_EXTENSION ( MEDIA_ID integer not null, EXTENSIONS_ID integer not null, primary key (MEDIA_ID, EXTENSIONS_ID) ); create table PUBLIC.MEDIA_EXTENSION_AUD ( REV integer not null, MEDIA_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, EXTENSIONS_ID) ); create table PUBLIC.MEDIA_EXTERNALLINK ( MEDIA_ID integer not null, LINKS_ID integer not null, primary key (MEDIA_ID, LINKS_ID) ); create table PUBLIC.MEDIA_EXTERNALLINK_AUD ( REV integer not null, MEDIA_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, LINKS_ID) ); create table PUBLIC.MEDIA_IDENTIFIER ( MEDIA_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (MEDIA_ID, SORTINDEX) ); create table PUBLIC.MEDIA_IDENTIFIER_AUD ( REV integer not null, MEDIA_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.MEDIA_LANGUAGESTRING ( MEDIA_ID integer not null, TITLE_ID integer not null, TITLE_MAPKEY_ID integer not null, primary key (MEDIA_ID, TITLE_MAPKEY_ID) ); create table PUBLIC.MEDIA_LANGUAGESTRING_AUD ( REV integer not null, MEDIA_ID integer not null, TITLE_ID integer not null, TITLE_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, TITLE_ID, TITLE_MAPKEY_ID) ); create table PUBLIC.MEDIA_MARKER ( MEDIA_ID integer not null, MARKERS_ID integer not null, primary key (MEDIA_ID, MARKERS_ID) ); create table PUBLIC.MEDIA_MARKER_AUD ( REV integer not null, MEDIA_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, MARKERS_ID) ); create table PUBLIC.MEDIA_ORIGINALSOURCEBASE ( MEDIA_ID integer not null, SOURCES_ID integer not null, primary key (MEDIA_ID, SOURCES_ID) ); create table PUBLIC.MEDIA_ORIGINALSOURCEBASE_AUD ( REV integer not null, MEDIA_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, SOURCES_ID) ); create table PUBLIC.MEDIA_REPRESENTATION ( MEDIAKEY_ID integer not null, KEYREPRESENTATIONS_ID integer not null, primary key (MEDIAKEY_ID, KEYREPRESENTATIONS_ID) ); create table PUBLIC.MEDIA_REPRESENTATION_AUD ( REV integer not null, MEDIAKEY_ID integer not null, KEYREPRESENTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIAKEY_ID, KEYREPRESENTATIONS_ID) ); create table PUBLIC.MEDIA_RIGHTSINFO ( MEDIA_ID integer not null, RIGHTS_ID integer not null, primary key (MEDIA_ID, RIGHTS_ID) ); create table PUBLIC.MEDIA_RIGHTSINFO_AUD ( REV integer not null, MEDIA_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIA_ID, RIGHTS_ID) ); create table PUBLIC.MEDIA_SEQUENCE ( PHYLOGENETICTREE_ID integer not null, USEDSEQUENCES_ID integer not null, primary key (PHYLOGENETICTREE_ID, USEDSEQUENCES_ID) ); create table PUBLIC.MEDIA_SEQUENCE_AUD ( REV integer not null, PHYLOGENETICTREE_ID integer not null, USEDSEQUENCES_ID integer not null, REVTYPE tinyint, primary key (REV, PHYLOGENETICTREE_ID, USEDSEQUENCES_ID) ); create table PUBLIC.MEDIAKEY_COVEREDTAXON ( MEDIAKEY_ID integer not null, COVEREDTAXA_ID integer not null, primary key (MEDIAKEY_ID, COVEREDTAXA_ID) ); create table PUBLIC.MEDIAKEY_COVEREDTAXON_AUD ( REV integer not null, MEDIAKEY_ID integer not null, COVEREDTAXA_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIAKEY_ID, COVEREDTAXA_ID) ); create table PUBLIC.MEDIAKEY_NAMEDAREA ( MEDIAKEY_ID integer not null, GEOGRAPHICALSCOPE_ID integer not null, primary key (MEDIAKEY_ID, GEOGRAPHICALSCOPE_ID) ); create table PUBLIC.MEDIAKEY_NAMEDAREA_AUD ( REV integer not null, MEDIAKEY_ID integer not null, GEOGRAPHICALSCOPE_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIAKEY_ID, GEOGRAPHICALSCOPE_ID) ); create table PUBLIC.MEDIAKEY_SCOPE ( MEDIAKEY_ID integer not null, SCOPERESTRICTIONS_ID integer not null, primary key (MEDIAKEY_ID, SCOPERESTRICTIONS_ID) ); create table PUBLIC.MEDIAKEY_SCOPE_AUD ( REV integer not null, MEDIAKEY_ID integer not null, SCOPERESTRICTIONS_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIAKEY_ID, SCOPERESTRICTIONS_ID) ); create table PUBLIC.MEDIAKEY_TAXONSCOPE ( MEDIAKEY_ID integer not null, TAXONOMICSCOPE_ID integer not null, primary key (MEDIAKEY_ID, TAXONOMICSCOPE_ID) ); create table PUBLIC.MEDIAKEY_TAXONSCOPE_AUD ( REV integer not null, MEDIAKEY_ID integer not null, TAXONOMICSCOPE_ID integer not null, REVTYPE tinyint, primary key (REV, MEDIAKEY_ID, TAXONOMICSCOPE_ID) ); create table PUBLIC.MEDIAMETADATA ( ID integer not null, CREATED timestamp, UUID varchar(36), PAIRKEY varchar(255), PAIRVALUE varchar(255), CREATEDBY_ID integer, MEDIAREPRESENTATION_ID integer, primary key (ID) ); create table PUBLIC.MEDIAMETADATA_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), PAIRKEY varchar(255), PAIRVALUE varchar(255), CREATEDBY_ID integer, MEDIAREPRESENTATION_ID integer, primary key (ID, REV) ); create table PUBLIC.MEDIAREPRESENTATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, MIMETYPE varchar(255), SUFFIX varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, MEDIA_ID integer, primary key (ID) ); create table PUBLIC.MEDIAREPRESENTATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, MIMETYPE varchar(255), SUFFIX varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, MEDIA_ID integer, primary key (ID, REV) ); create table PUBLIC.MEDIAREPRESENTATION_MEDIAREPRESENTATIONPART_AUD ( REV integer not null, REPRESENTATION_ID integer not null, ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, REPRESENTATION_ID, ID, SORTINDEX) ); create table PUBLIC.MEDIAREPRESENTATIONPART ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, SIZE integer, URI clob, DURATION integer, HEIGHT integer, WIDTH integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, REPRESENTATION_ID integer not null, SORTINDEX integer, primary key (ID) ); create table PUBLIC.MEDIAREPRESENTATIONPART_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, SIZE integer, URI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, REPRESENTATION_ID integer, DURATION integer, HEIGHT integer, WIDTH integer, primary key (ID, REV) ); create table PUBLIC.MULTIACCESSKEY_COVEREDTAXON ( MULTIACCESSKEY_ID integer not null, COVEREDTAXA_ID integer not null, primary key (MULTIACCESSKEY_ID, COVEREDTAXA_ID) ); create table PUBLIC.MULTIACCESSKEY_COVEREDTAXON_AUD ( REV integer not null, MULTIACCESSKEY_ID integer not null, COVEREDTAXA_ID integer not null, REVTYPE tinyint, primary key (REV, MULTIACCESSKEY_ID, COVEREDTAXA_ID) ); create table PUBLIC.MULTIACCESSKEY_NAMEDAREA ( MULTIACCESSKEY_ID integer not null, GEOGRAPHICALSCOPE_ID integer not null, primary key (MULTIACCESSKEY_ID, GEOGRAPHICALSCOPE_ID) ); create table PUBLIC.MULTIACCESSKEY_NAMEDAREA_AUD ( REV integer not null, MULTIACCESSKEY_ID integer not null, GEOGRAPHICALSCOPE_ID integer not null, REVTYPE tinyint, primary key (REV, MULTIACCESSKEY_ID, GEOGRAPHICALSCOPE_ID) ); create table PUBLIC.MULTIACCESSKEY_SCOPE ( MULTIACCESSKEY_ID integer not null, SCOPERESTRICTIONS_ID integer not null, primary key (MULTIACCESSKEY_ID, SCOPERESTRICTIONS_ID) ); create table PUBLIC.MULTIACCESSKEY_SCOPE_AUD ( REV integer not null, MULTIACCESSKEY_ID integer not null, SCOPERESTRICTIONS_ID integer not null, REVTYPE tinyint, primary key (REV, MULTIACCESSKEY_ID, SCOPERESTRICTIONS_ID) ); create table PUBLIC.MULTIACCESSKEY_TAXONSCOPE ( MULTIACCESSKEY_ID integer not null, TAXONOMICSCOPE_ID integer not null, primary key (MULTIACCESSKEY_ID, TAXONOMICSCOPE_ID) ); create table PUBLIC.MULTIACCESSKEY_TAXONSCOPE_AUD ( REV integer not null, MULTIACCESSKEY_ID integer not null, TAXONOMICSCOPE_ID integer not null, REVTYPE tinyint, primary key (REV, MULTIACCESSKEY_ID, TAXONOMICSCOPE_ID) ); create table PUBLIC.NAMERELATIONSHIP ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DOUBTFUL boolean not null, CODEEDITION varchar(20), RULECONSIDERED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, RELATEDFROM_ID integer, RELATEDTO_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.NAMERELATIONSHIP_ANNOTATION ( NAMERELATIONSHIP_ID integer not null, ANNOTATIONS_ID integer not null, primary key (NAMERELATIONSHIP_ID, ANNOTATIONS_ID) ); create table PUBLIC.NAMERELATIONSHIP_ANNOTATION_AUD ( REV integer not null, NAMERELATIONSHIP_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, NAMERELATIONSHIP_ID, ANNOTATIONS_ID) ); create table PUBLIC.NAMERELATIONSHIP_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DOUBTFUL boolean, CODEEDITION varchar(20), RULECONSIDERED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, RELATEDFROM_ID integer, RELATEDTO_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.NAMERELATIONSHIP_MARKER ( NAMERELATIONSHIP_ID integer not null, MARKERS_ID integer not null, primary key (NAMERELATIONSHIP_ID, MARKERS_ID) ); create table PUBLIC.NAMERELATIONSHIP_MARKER_AUD ( REV integer not null, NAMERELATIONSHIP_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, NAMERELATIONSHIP_ID, MARKERS_ID) ); create table PUBLIC.NOMENCLATURALSTATUS ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CODEEDITION varchar(20), RULECONSIDERED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, NAME_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION ( NOMENCLATURALSTATUS_ID integer not null, ANNOTATIONS_ID integer not null, primary key (NOMENCLATURALSTATUS_ID, ANNOTATIONS_ID) ); create table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION_AUD ( REV integer not null, NOMENCLATURALSTATUS_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, NOMENCLATURALSTATUS_ID, ANNOTATIONS_ID) ); create table PUBLIC.NOMENCLATURALSTATUS_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CODEEDITION varchar(20), RULECONSIDERED varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, NAME_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.NOMENCLATURALSTATUS_MARKER ( NOMENCLATURALSTATUS_ID integer not null, MARKERS_ID integer not null, primary key (NOMENCLATURALSTATUS_ID, MARKERS_ID) ); create table PUBLIC.NOMENCLATURALSTATUS_MARKER_AUD ( REV integer not null, NOMENCLATURALSTATUS_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, NOMENCLATURALSTATUS_ID, MARKERS_ID) ); create table PUBLIC.OCCURRENCESTATUS ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, TYPE_ID integer, UNIT_ID integer, primary key (ID) ); create table PUBLIC.OCCURRENCESTATUS_ANNOTATION ( OCCURRENCESTATUS_ID integer not null, ANNOTATIONS_ID integer not null, primary key (OCCURRENCESTATUS_ID, ANNOTATIONS_ID) ); create table PUBLIC.OCCURRENCESTATUS_ANNOTATION_AUD ( REV integer not null, OCCURRENCESTATUS_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, OCCURRENCESTATUS_ID, ANNOTATIONS_ID) ); create table PUBLIC.OCCURRENCESTATUS_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, TYPE_ID integer, UNIT_ID integer, primary key (ID, REV) ); create table PUBLIC.OCCURRENCESTATUS_MARKER ( OCCURRENCESTATUS_ID integer not null, MARKERS_ID integer not null, primary key (OCCURRENCESTATUS_ID, MARKERS_ID) ); create table PUBLIC.OCCURRENCESTATUS_MARKER_AUD ( REV integer not null, OCCURRENCESTATUS_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, OCCURRENCESTATUS_ID, MARKERS_ID) ); create table PUBLIC.ORIGINALSOURCEBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, ACCESSED_END varchar(255), ACCESSED_FREETEXT varchar(255), ACCESSED_START varchar(255), CITATIONMICROREFERENCE varchar(255), IDINSOURCE varchar(255), IDNAMESPACE varchar(255), ORIGINALINFO varchar(255), SOURCETYPE varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, CDMSOURCE_ID integer, CITATION_ID integer, NAMEUSEDINSOURCE_ID integer, SOURCEDELEMENT_ID integer, SOURCEDNAME_ID integer, SOURCEDTAXON_ID integer, SPECIMEN_ID integer, primary key (ID) ); create table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION ( ORIGINALSOURCEBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (ORIGINALSOURCEBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION_AUD ( REV integer not null, ORIGINALSOURCEBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, ORIGINALSOURCEBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.ORIGINALSOURCEBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, ACCESSED_END varchar(255), ACCESSED_FREETEXT varchar(255), ACCESSED_START varchar(255), CITATIONMICROREFERENCE varchar(255), IDINSOURCE varchar(255), IDNAMESPACE varchar(255), ORIGINALINFO varchar(255), SOURCETYPE varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, CDMSOURCE_ID integer, CITATION_ID integer, NAMEUSEDINSOURCE_ID integer, SOURCEDTAXON_ID integer, SOURCEDELEMENT_ID integer, SOURCEDNAME_ID integer, SPECIMEN_ID integer, primary key (ID, REV) ); create table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK ( ORIGINALSOURCEBASE_ID integer not null, LINKS_ID integer not null, primary key (ORIGINALSOURCEBASE_ID, LINKS_ID) ); create table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK_AUD ( REV integer not null, ORIGINALSOURCEBASE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, ORIGINALSOURCEBASE_ID, LINKS_ID) ); create table PUBLIC.ORIGINALSOURCEBASE_MARKER ( ORIGINALSOURCEBASE_ID integer not null, MARKERS_ID integer not null, primary key (ORIGINALSOURCEBASE_ID, MARKERS_ID) ); create table PUBLIC.ORIGINALSOURCEBASE_MARKER_AUD ( REV integer not null, ORIGINALSOURCEBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, ORIGINALSOURCEBASE_ID, MARKERS_ID) ); create table PUBLIC.PERMISSIONGROUP ( ID integer not null, CREATED timestamp, UUID varchar(36), NAME varchar(255), CREATEDBY_ID integer, primary key (ID) ); create table PUBLIC.PERMISSIONGROUP_AUTHORITY ( GROUP_ID integer not null, AUTHORITIES_ID integer not null, primary key (GROUP_ID, AUTHORITIES_ID) ); create table PUBLIC.PERMISSIONGROUP_GRANTEDAUTHORITYIMPL ( GROUP_ID integer not null, GRANTEDAUTHORITIES_ID integer not null, primary key (GROUP_ID, GRANTEDAUTHORITIES_ID) ); create table PUBLIC.POLYTOMOUSKEY ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), STARTNUMBER integer not null, CREATEDBY_ID integer, UPDATEDBY_ID integer, ROOT_ID integer, primary key (ID) ); create table PUBLIC.POLYTOMOUSKEY_ANNOTATION ( POLYTOMOUSKEY_ID integer not null, ANNOTATIONS_ID integer not null, primary key (POLYTOMOUSKEY_ID, ANNOTATIONS_ID) ); create table PUBLIC.POLYTOMOUSKEY_ANNOTATION_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, ANNOTATIONS_ID) ); create table PUBLIC.POLYTOMOUSKEY_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), STARTNUMBER integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, ROOT_ID integer, primary key (ID, REV) ); create table PUBLIC.POLYTOMOUSKEY_CREDIT ( POLYTOMOUSKEY_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (POLYTOMOUSKEY_ID, SORTINDEX) ); create table PUBLIC.POLYTOMOUSKEY_CREDIT_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.POLYTOMOUSKEY_EXTENSION ( POLYTOMOUSKEY_ID integer not null, EXTENSIONS_ID integer not null, primary key (POLYTOMOUSKEY_ID, EXTENSIONS_ID) ); create table PUBLIC.POLYTOMOUSKEY_EXTENSION_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, EXTENSIONS_ID) ); create table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK ( POLYTOMOUSKEY_ID integer not null, LINKS_ID integer not null, primary key (POLYTOMOUSKEY_ID, LINKS_ID) ); create table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, LINKS_ID) ); create table PUBLIC.POLYTOMOUSKEY_IDENTIFIER ( POLYTOMOUSKEY_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (POLYTOMOUSKEY_ID, SORTINDEX) ); create table PUBLIC.POLYTOMOUSKEY_IDENTIFIER_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.POLYTOMOUSKEY_MARKER ( POLYTOMOUSKEY_ID integer not null, MARKERS_ID integer not null, primary key (POLYTOMOUSKEY_ID, MARKERS_ID) ); create table PUBLIC.POLYTOMOUSKEY_MARKER_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, MARKERS_ID) ); create table PUBLIC.POLYTOMOUSKEY_NAMEDAREA ( POLYTOMOUSKEY_ID integer not null, GEOGRAPHICALSCOPE_ID integer not null, primary key (POLYTOMOUSKEY_ID, GEOGRAPHICALSCOPE_ID) ); create table PUBLIC.POLYTOMOUSKEY_NAMEDAREA_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, GEOGRAPHICALSCOPE_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, GEOGRAPHICALSCOPE_ID) ); create table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE ( POLYTOMOUSKEY_ID integer not null, SOURCES_ID integer not null, primary key (POLYTOMOUSKEY_ID, SOURCES_ID) ); create table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, SOURCES_ID) ); create table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO ( POLYTOMOUSKEY_ID integer not null, RIGHTS_ID integer not null, primary key (POLYTOMOUSKEY_ID, RIGHTS_ID) ); create table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, RIGHTS_ID) ); create table PUBLIC.POLYTOMOUSKEY_SCOPE ( POLYTOMOUSKEY_ID integer not null, SCOPERESTRICTIONS_ID integer not null, primary key (POLYTOMOUSKEY_ID, SCOPERESTRICTIONS_ID) ); create table PUBLIC.POLYTOMOUSKEY_SCOPE_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, SCOPERESTRICTIONS_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, SCOPERESTRICTIONS_ID) ); create table PUBLIC.POLYTOMOUSKEY_TAXON ( POLYTOMOUSKEY_ID integer not null, TAXON_ID integer not null, primary key (POLYTOMOUSKEY_ID, TAXON_ID) ); create table PUBLIC.POLYTOMOUSKEY_TAXON_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, TAXON_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, TAXON_ID) ); create table PUBLIC.POLYTOMOUSKEY_TAXONBASE ( POLYTOMOUSKEY_ID integer not null, COVEREDTAXA_ID integer not null, primary key (POLYTOMOUSKEY_ID, COVEREDTAXA_ID) ); create table PUBLIC.POLYTOMOUSKEY_TAXONBASE_AUD ( REV integer not null, POLYTOMOUSKEY_ID integer not null, COVEREDTAXA_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEY_ID, COVEREDTAXA_ID) ); create table PUBLIC.POLYTOMOUSKEYNODE ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, NODENUMBER integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, FEATURE_ID integer, KEY_ID integer, OTHERNODE_ID integer, PARENT_ID integer, QUESTION_ID integer, STATEMENT_ID integer, SUBKEY_ID integer, TAXON_ID integer, SORTINDEX integer, primary key (ID) ); create table PUBLIC.POLYTOMOUSKEYNODE_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, NODENUMBER integer, SORTINDEX integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, FEATURE_ID integer, KEY_ID integer, OTHERNODE_ID integer, PARENT_ID integer, QUESTION_ID integer, STATEMENT_ID integer, SUBKEY_ID integer, TAXON_ID integer, primary key (ID, REV) ); create table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING ( POLYTOMOUSKEYNODE_ID integer not null, MODIFYINGTEXT_ID integer not null, MODIFYINGTEXT_MAPKEY_ID integer not null, primary key (POLYTOMOUSKEYNODE_ID, MODIFYINGTEXT_MAPKEY_ID) ); create table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING_AUD ( REV integer not null, POLYTOMOUSKEYNODE_ID integer not null, MODIFYINGTEXT_ID integer not null, MODIFYINGTEXT_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, POLYTOMOUSKEYNODE_ID, MODIFYINGTEXT_ID, MODIFYINGTEXT_MAPKEY_ID) ); create table PUBLIC.PRIMER ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LABEL varchar(255), SEQUENCE_LENGTH integer, SEQUENCE_STRING clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, DNAMARKER_ID integer, PUBLISHEDIN_ID integer, primary key (ID) ); create table PUBLIC.PRIMER_ANNOTATION ( PRIMER_ID integer not null, ANNOTATIONS_ID integer not null, primary key (PRIMER_ID, ANNOTATIONS_ID) ); create table PUBLIC.PRIMER_ANNOTATION_AUD ( REV integer not null, PRIMER_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, PRIMER_ID, ANNOTATIONS_ID) ); create table PUBLIC.PRIMER_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LABEL varchar(255), SEQUENCE_LENGTH integer, SEQUENCE_STRING clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, DNAMARKER_ID integer, PUBLISHEDIN_ID integer, primary key (ID, REV) ); create table PUBLIC.PRIMER_MARKER ( PRIMER_ID integer not null, MARKERS_ID integer not null, primary key (PRIMER_ID, MARKERS_ID) ); create table PUBLIC.PRIMER_MARKER_AUD ( REV integer not null, PRIMER_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, PRIMER_ID, MARKERS_ID) ); create table PUBLIC.REFERENCE ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), ABBREVTITLE varchar(255), ABBREVTITLECACHE varchar(1024), ACCESSED timestamp, DATEPUBLISHED_VERBATIMDATE varchar(255), DATEPUBLISHED_END varchar(255), DATEPUBLISHED_FREETEXT varchar(255), DATEPUBLISHED_START varchar(255), DOI varchar(1000), EDITION varchar(255), EDITOR varchar(255), AUTHORITYTYPE varchar(10), EXTERNALID varchar(255), EXTERNALLINK clob, IMPORTMETHOD varchar(30), LASTRETRIEVED timestamp, ISBN varchar(255), ISSN varchar(255), NOMENCLATURALLYRELEVANT boolean not null, ORGANIZATION varchar(255), PAGES varchar(255), PARSINGPROBLEM integer not null, PLACEPUBLISHED varchar(255), PROBLEMENDS integer not null, PROBLEMSTARTS integer not null, PROTECTEDABBREVTITLECACHE boolean not null, PUBLISHER varchar(255), REFERENCEABSTRACT clob, SERIESPART varchar(255), TITLE clob, REFTYPE varchar(255), URI clob, VOLUME varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, AUTHORSHIP_ID integer, INREFERENCE_ID integer, INSTITUTION_ID integer, SCHOOL_ID integer, primary key (ID) ); create table PUBLIC.REFERENCE_ANNOTATION ( REFERENCE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (REFERENCE_ID, ANNOTATIONS_ID) ); create table PUBLIC.REFERENCE_ANNOTATION_AUD ( REV integer not null, REFERENCE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, ANNOTATIONS_ID) ); create table PUBLIC.REFERENCE_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), ABBREVTITLE varchar(255), ABBREVTITLECACHE varchar(1024), ACCESSED timestamp, DATEPUBLISHED_VERBATIMDATE varchar(255), DATEPUBLISHED_END varchar(255), DATEPUBLISHED_FREETEXT varchar(255), DATEPUBLISHED_START varchar(255), DOI varchar(1000), EDITION varchar(255), EDITOR varchar(255), AUTHORITYTYPE varchar(10), EXTERNALID varchar(255), EXTERNALLINK clob, IMPORTMETHOD varchar(30), LASTRETRIEVED timestamp, ISBN varchar(255), ISSN varchar(255), NOMENCLATURALLYRELEVANT boolean, ORGANIZATION varchar(255), PAGES varchar(255), PARSINGPROBLEM integer, PLACEPUBLISHED varchar(255), PROBLEMENDS integer, PROBLEMSTARTS integer, PROTECTEDABBREVTITLECACHE boolean, PUBLISHER varchar(255), REFERENCEABSTRACT clob, SERIESPART varchar(255), TITLE clob, REFTYPE varchar(255), URI clob, VOLUME varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, AUTHORSHIP_ID integer, INREFERENCE_ID integer, INSTITUTION_ID integer, SCHOOL_ID integer, primary key (ID, REV) ); create table PUBLIC.REFERENCE_CREDIT ( REFERENCE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (REFERENCE_ID, SORTINDEX) ); create table PUBLIC.REFERENCE_CREDIT_AUD ( REV integer not null, REFERENCE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.REFERENCE_EXTENSION ( REFERENCE_ID integer not null, EXTENSIONS_ID integer not null, primary key (REFERENCE_ID, EXTENSIONS_ID) ); create table PUBLIC.REFERENCE_EXTENSION_AUD ( REV integer not null, REFERENCE_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, EXTENSIONS_ID) ); create table PUBLIC.REFERENCE_EXTERNALLINK ( REFERENCE_ID integer not null, LINKS_ID integer not null, primary key (REFERENCE_ID, LINKS_ID) ); create table PUBLIC.REFERENCE_EXTERNALLINK_AUD ( REV integer not null, REFERENCE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, LINKS_ID) ); create table PUBLIC.REFERENCE_IDENTIFIER ( REFERENCE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (REFERENCE_ID, SORTINDEX) ); create table PUBLIC.REFERENCE_IDENTIFIER_AUD ( REV integer not null, REFERENCE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.REFERENCE_MARKER ( REFERENCE_ID integer not null, MARKERS_ID integer not null, primary key (REFERENCE_ID, MARKERS_ID) ); create table PUBLIC.REFERENCE_MARKER_AUD ( REV integer not null, REFERENCE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, MARKERS_ID) ); create table PUBLIC.REFERENCE_MEDIA ( REFERENCE_ID integer not null, MEDIA_ID integer not null, primary key (REFERENCE_ID, MEDIA_ID) ); create table PUBLIC.REFERENCE_MEDIA_AUD ( REV integer not null, REFERENCE_ID integer not null, MEDIA_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, MEDIA_ID) ); create table PUBLIC.REFERENCE_ORIGINALSOURCEBASE ( REFERENCE_ID integer not null, SOURCES_ID integer not null, primary key (REFERENCE_ID, SOURCES_ID) ); create table PUBLIC.REFERENCE_ORIGINALSOURCEBASE_AUD ( REV integer not null, REFERENCE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, SOURCES_ID) ); create table PUBLIC.REFERENCE_RIGHTSINFO ( REFERENCE_ID integer not null, RIGHTS_ID integer not null, primary key (REFERENCE_ID, RIGHTS_ID) ); create table PUBLIC.REFERENCE_RIGHTSINFO_AUD ( REV integer not null, REFERENCE_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, REFERENCE_ID, RIGHTS_ID) ); create table PUBLIC.REGISTRATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, IDENTIFIER varchar(255), REGISTRATIONDATE timestamp, SPECIFICIDENTIFIER varchar(255), STATUS varchar(10), CREATEDBY_ID integer, UPDATEDBY_ID integer, INSTITUTION_ID integer, NAME_ID integer, SUBMITTER_ID integer, primary key (ID) ); create table PUBLIC.REGISTRATION_ANNOTATION ( REGISTRATION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (REGISTRATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.REGISTRATION_ANNOTATION_AUD ( REV integer not null, REGISTRATION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, REGISTRATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.REGISTRATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, IDENTIFIER varchar(255), REGISTRATIONDATE timestamp, SPECIFICIDENTIFIER varchar(255), STATUS varchar(10), CREATEDBY_ID integer, UPDATEDBY_ID integer, INSTITUTION_ID integer, NAME_ID integer, SUBMITTER_ID integer, primary key (ID, REV) ); create table PUBLIC.REGISTRATION_MARKER ( REGISTRATION_ID integer not null, MARKERS_ID integer not null, primary key (REGISTRATION_ID, MARKERS_ID) ); create table PUBLIC.REGISTRATION_MARKER_AUD ( REV integer not null, REGISTRATION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, REGISTRATION_ID, MARKERS_ID) ); create table PUBLIC.REGISTRATION_REGISTRATION ( REGISTRATION_ID integer not null, BLOCKEDBY_ID integer not null, primary key (REGISTRATION_ID, BLOCKEDBY_ID) ); create table PUBLIC.REGISTRATION_REGISTRATION_AUD ( REV integer not null, REGISTRATION_ID integer not null, BLOCKEDBY_ID integer not null, REVTYPE tinyint, primary key (REV, REGISTRATION_ID, BLOCKEDBY_ID) ); create table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE ( REGISTRATIONS_ID integer not null, TYPEDESIGNATIONS_ID integer not null, primary key (REGISTRATIONS_ID, TYPEDESIGNATIONS_ID) ); create table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE_AUD ( REV integer not null, REGISTRATIONS_ID integer not null, TYPEDESIGNATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, REGISTRATIONS_ID, TYPEDESIGNATIONS_ID) ); create table PUBLIC.REPRESENTATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, ABBREVIATEDLABEL varchar(255), LABEL varchar(255), PLURAL varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, primary key (ID) ); create table PUBLIC.REPRESENTATION_ANNOTATION ( REPRESENTATION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (REPRESENTATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.REPRESENTATION_ANNOTATION_AUD ( REV integer not null, REPRESENTATION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, REPRESENTATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.REPRESENTATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, ABBREVIATEDLABEL varchar(255), LABEL varchar(255), PLURAL varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, primary key (ID, REV) ); create table PUBLIC.REPRESENTATION_MARKER ( REPRESENTATION_ID integer not null, MARKERS_ID integer not null, primary key (REPRESENTATION_ID, MARKERS_ID) ); create table PUBLIC.REPRESENTATION_MARKER_AUD ( REV integer not null, REPRESENTATION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, REPRESENTATION_ID, MARKERS_ID) ); create table PUBLIC.RIGHTSINFO ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, ABBREVIATEDTEXT varchar(255), URI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, AGENT_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.RIGHTSINFO_ANNOTATION ( RIGHTS_ID integer not null, ANNOTATIONS_ID integer not null, primary key (RIGHTS_ID, ANNOTATIONS_ID) ); create table PUBLIC.RIGHTSINFO_ANNOTATION_AUD ( REV integer not null, RIGHTS_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, RIGHTS_ID, ANNOTATIONS_ID) ); create table PUBLIC.RIGHTSINFO_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TEXT clob, ABBREVIATEDTEXT varchar(255), URI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, LANGUAGE_ID integer, AGENT_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.RIGHTSINFO_MARKER ( RIGHTS_ID integer not null, MARKERS_ID integer not null, primary key (RIGHTS_ID, MARKERS_ID) ); create table PUBLIC.RIGHTSINFO_MARKER_AUD ( REV integer not null, RIGHTS_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, RIGHTS_ID, MARKERS_ID) ); create table PUBLIC.SEQUENCE ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, BARCODESEQUENCEPART_LENGTH integer, BARCODESEQUENCEPART_STRING clob, BOLDPROCESSID varchar(20), CONSENSUSSEQUENCE_LENGTH integer, CONSENSUSSEQUENCE_STRING clob, GENETICACCESSIONNUMBER varchar(20), HAPLOTYPE varchar(100), ISBARCODE boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, CONTIGFILE_ID integer, DNAMARKER_ID integer, DNASAMPLE_ID integer, primary key (ID) ); create table PUBLIC.SEQUENCE_ANNOTATION ( SEQUENCE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (SEQUENCE_ID, ANNOTATIONS_ID) ); create table PUBLIC.SEQUENCE_ANNOTATION_AUD ( REV integer not null, SEQUENCE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, SEQUENCE_ID, ANNOTATIONS_ID) ); create table PUBLIC.SEQUENCE_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, BARCODESEQUENCEPART_LENGTH integer, BARCODESEQUENCEPART_STRING clob, BOLDPROCESSID varchar(20), CONSENSUSSEQUENCE_LENGTH integer, CONSENSUSSEQUENCE_STRING clob, GENETICACCESSIONNUMBER varchar(20), HAPLOTYPE varchar(100), ISBARCODE boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, CONTIGFILE_ID integer, DNAMARKER_ID integer, DNASAMPLE_ID integer, primary key (ID, REV) ); create table PUBLIC.SEQUENCE_MARKER ( SEQUENCE_ID integer not null, MARKERS_ID integer not null, primary key (SEQUENCE_ID, MARKERS_ID) ); create table PUBLIC.SEQUENCE_MARKER_AUD ( REV integer not null, SEQUENCE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, SEQUENCE_ID, MARKERS_ID) ); create table PUBLIC.SEQUENCE_REFERENCE ( SEQUENCE_ID integer not null, CITATIONS_ID integer not null, primary key (SEQUENCE_ID, CITATIONS_ID) ); create table PUBLIC.SEQUENCE_REFERENCE_AUD ( REV integer not null, SEQUENCE_ID integer not null, CITATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, SEQUENCE_ID, CITATIONS_ID) ); create table PUBLIC.SINGLEREAD ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), DIRECTION varchar(255), SEQUENCE_LENGTH integer, SEQUENCE_STRING clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, AMPLIFICATIONRESULT_ID integer, MATERIALORMETHOD_ID integer, PHEROGRAM_ID integer, PRIMER_ID integer, primary key (ID) ); create table PUBLIC.SINGLEREAD_ANNOTATION ( SINGLEREAD_ID integer not null, ANNOTATIONS_ID integer not null, primary key (SINGLEREAD_ID, ANNOTATIONS_ID) ); create table PUBLIC.SINGLEREAD_ANNOTATION_AUD ( REV integer not null, SINGLEREAD_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, SINGLEREAD_ID, ANNOTATIONS_ID) ); create table PUBLIC.SINGLEREAD_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DESCRIPTION varchar(255), TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), DIRECTION varchar(255), SEQUENCE_LENGTH integer, SEQUENCE_STRING clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, ACTOR_ID integer, AMPLIFICATIONRESULT_ID integer, MATERIALORMETHOD_ID integer, PHEROGRAM_ID integer, PRIMER_ID integer, primary key (ID, REV) ); create table PUBLIC.SINGLEREAD_MARKER ( SINGLEREAD_ID integer not null, MARKERS_ID integer not null, primary key (SINGLEREAD_ID, MARKERS_ID) ); create table PUBLIC.SINGLEREAD_MARKER_AUD ( REV integer not null, SINGLEREAD_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, SINGLEREAD_ID, MARKERS_ID) ); create table PUBLIC.SINGLEREADALIGNMENT ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, EDITEDSEQUENCE clob, FIRSTSEQPOSITION integer, LEFTCUTPOSITION integer, REVERSECOMPLEMENT boolean not null, RIGHTCUTPOSITION integer, SHIFTS clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, CONSENSUSALIGNMENT_ID integer, SINGLEREAD_ID integer, primary key (ID) ); create table PUBLIC.SINGLEREADALIGNMENT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, EDITEDSEQUENCE clob, FIRSTSEQPOSITION integer, LEFTCUTPOSITION integer, REVERSECOMPLEMENT boolean, RIGHTCUTPOSITION integer, SHIFTS clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, CONSENSUSALIGNMENT_ID integer, SINGLEREAD_ID integer, primary key (ID, REV) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), IDENTITYCACHE varchar(255), INDIVIDUALCOUNT varchar(255), PREFERREDSTABLEURI clob, PROTECTEDIDENTITYCACHE boolean not null, PUBLISH boolean not null, RECORDBASIS varchar(255), ACCESSIONNUMBER varchar(255), BARCODE varchar(255), CATALOGNUMBER varchar(255), COLLECTORSNUMBER varchar(255), EXSICCATUM varchar(255), ORIGINALLABELINFO clob, FIELDNOTES varchar(255), FIELDNUMBER varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, KINDOFUNIT_ID integer, LIFESTAGE_ID integer, SEX_ID integer, COLLECTION_ID integer, DERIVEDFROM_ID integer, PRESERVATION_ID integer, STOREDUNDER_ID integer, DNAQUALITY_ID integer, GATHERINGEVENT_ID integer, PRIMARYCOLLECTOR_ID integer, MEDIASPECIMEN_ID integer, primary key (ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION ( SPECIMENOROBSERVATIONBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), IDENTITYCACHE varchar(255), INDIVIDUALCOUNT varchar(255), PREFERREDSTABLEURI clob, PROTECTEDIDENTITYCACHE boolean, PUBLISH boolean, RECORDBASIS varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, KINDOFUNIT_ID integer, LIFESTAGE_ID integer, SEX_ID integer, ACCESSIONNUMBER varchar(255), BARCODE varchar(255), CATALOGNUMBER varchar(255), COLLECTORSNUMBER varchar(255), EXSICCATUM varchar(255), ORIGINALLABELINFO clob, COLLECTION_ID integer, DERIVEDFROM_ID integer, PRESERVATION_ID integer, STOREDUNDER_ID integer, DNAQUALITY_ID integer, MEDIASPECIMEN_ID integer, FIELDNOTES varchar(255), FIELDNUMBER varchar(255), GATHERINGEVENT_ID integer, PRIMARYCOLLECTOR_ID integer, primary key (ID, REV) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT ( SPECIMENOROBSERVATIONBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, SORTINDEX) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT ( ORIGINALS_ID integer not null, DERIVATIONEVENTS_ID integer not null, primary key (ORIGINALS_ID, DERIVATIONEVENTS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT_AUD ( REV integer not null, ORIGINALS_ID integer not null, DERIVATIONEVENTS_ID integer not null, REVTYPE tinyint, primary key (REV, ORIGINALS_ID, DERIVATIONEVENTS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION ( SPECIMENOROBSERVATIONBASE_ID integer not null, EXTENSIONS_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK ( SPECIMENOROBSERVATIONBASE_ID integer not null, LINKS_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, LINKS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, LINKS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER ( SPECIMENOROBSERVATIONBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, SORTINDEX) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING ( SPECIMENOROBSERVATIONBASE_ID integer not null, DEFINITION_ID integer not null, DEFINITION_MAPKEY_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, DEFINITION_MAPKEY_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, DEFINITION_ID integer not null, DEFINITION_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, DEFINITION_ID, DEFINITION_MAPKEY_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER ( SPECIMENOROBSERVATIONBASE_ID integer not null, MARKERS_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, MARKERS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, MARKERS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE ( SPECIMENOROBSERVATIONBASE_ID integer not null, SOURCES_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, SOURCES_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, SOURCES_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO ( SPECIMENOROBSERVATIONBASE_ID integer not null, RIGHTS_ID integer not null, primary key (SPECIMENOROBSERVATIONBASE_ID, RIGHTS_ID) ); create table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO_AUD ( REV integer not null, SPECIMENOROBSERVATIONBASE_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, SPECIMENOROBSERVATIONBASE_ID, RIGHTS_ID) ); create table PUBLIC.STATEDATA ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, NUMBER integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, CATEGORICALDATA_ID integer, STATE_ID integer, primary key (ID) ); create table PUBLIC.STATEDATA_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, NUMBER integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, CATEGORICALDATA_ID integer, STATE_ID integer, primary key (ID, REV) ); create table PUBLIC.STATEDATA_DEFINEDTERMBASE ( STATEDATA_ID integer not null, MODIFIERS_ID integer not null, primary key (STATEDATA_ID, MODIFIERS_ID) ); create table PUBLIC.STATEDATA_DEFINEDTERMBASE_AUD ( REV integer not null, STATEDATA_ID integer not null, MODIFIERS_ID integer not null, REVTYPE tinyint, primary key (REV, STATEDATA_ID, MODIFIERS_ID) ); create table PUBLIC.STATEDATA_LANGUAGESTRING ( STATEDATA_ID integer not null, MODIFYINGTEXT_ID integer not null, MODIFYINGTEXT_MAPKEY_ID integer not null, primary key (STATEDATA_ID, MODIFYINGTEXT_MAPKEY_ID) ); create table PUBLIC.STATEDATA_LANGUAGESTRING_AUD ( REV integer not null, STATEDATA_ID integer not null, MODIFYINGTEXT_ID integer not null, MODIFYINGTEXT_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, STATEDATA_ID, MODIFYINGTEXT_ID, MODIFYINGTEXT_MAPKEY_ID) ); create table PUBLIC.STATISTICALMEASUREMENTVALUE ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, VALUE decimal(18,9), VALUE_SCALE integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, QUANTITATIVEDATA_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.STATISTICALMEASUREMENTVALUE_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, VALUE decimal(18,9), VALUE_SCALE integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, QUANTITATIVEDATA_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE ( STATISTICALMEASUREMENTVALUE_ID integer not null, MODIFIERS_ID integer not null, primary key (STATISTICALMEASUREMENTVALUE_ID, MODIFIERS_ID) ); create table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE_AUD ( REV integer not null, STATISTICALMEASUREMENTVALUE_ID integer not null, MODIFIERS_ID integer not null, REVTYPE tinyint, primary key (REV, STATISTICALMEASUREMENTVALUE_ID, MODIFIERS_ID) ); create table PUBLIC.TAXONBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), APPENDEDPHRASE varchar(255), DOUBTFUL boolean not null, PUBLISH boolean not null, USENAMECACHE boolean not null, CONCEPTDEFINITIONS varchar(255), CONCEPTID varchar(255), CONCEPTSTATUS varchar(255), CURRENTCONCEPTPERIOD_END varchar(255), CURRENTCONCEPTPERIOD_FREETEXT varchar(255), CURRENTCONCEPTPERIOD_START varchar(255), TAXONSTATUSUNKNOWN boolean, TAXONTYPES varchar(255), TYPE VARCHAR(10), CREATEDBY_ID integer, UPDATEDBY_ID integer, NAME_ID integer, ACCEPTEDTAXON_ID integer, primary key (ID) ); create table PUBLIC.TAXONBASE_ANNOTATION ( TAXONBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TAXONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONBASE_ANNOTATION_AUD ( REV integer not null, TAXONBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), APPENDEDPHRASE varchar(255), DOUBTFUL boolean, PUBLISH boolean, USENAMECACHE boolean, CONCEPTDEFINITIONS varchar(255), CONCEPTID varchar(255), CONCEPTSTATUS varchar(255), CURRENTCONCEPTPERIOD_END varchar(255), CURRENTCONCEPTPERIOD_FREETEXT varchar(255), CURRENTCONCEPTPERIOD_START varchar(255), TAXONSTATUSUNKNOWN boolean, TAXONTYPES varchar(255), TYPE VARCHAR(10), ACCEPTEDTAXON_ID integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, NAME_ID integer, primary key (ID, REV) ); create table PUBLIC.TAXONBASE_CREDIT ( TAXONBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (TAXONBASE_ID, SORTINDEX) ); create table PUBLIC.TAXONBASE_CREDIT_AUD ( REV integer not null, TAXONBASE_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.TAXONBASE_EXTENSION ( TAXONBASE_ID integer not null, EXTENSIONS_ID integer not null, primary key (TAXONBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.TAXONBASE_EXTENSION_AUD ( REV integer not null, TAXONBASE_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, EXTENSIONS_ID) ); create table PUBLIC.TAXONBASE_EXTERNALLINK ( TAXONBASE_ID integer not null, LINKS_ID integer not null, primary key (TAXONBASE_ID, LINKS_ID) ); create table PUBLIC.TAXONBASE_EXTERNALLINK_AUD ( REV integer not null, TAXONBASE_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, LINKS_ID) ); create table PUBLIC.TAXONBASE_IDENTIFIER ( TAXONBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (TAXONBASE_ID, SORTINDEX) ); create table PUBLIC.TAXONBASE_IDENTIFIER_AUD ( REV integer not null, TAXONBASE_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.TAXONBASE_MARKER ( TAXONBASE_ID integer not null, MARKERS_ID integer not null, primary key (TAXONBASE_ID, MARKERS_ID) ); create table PUBLIC.TAXONBASE_MARKER_AUD ( REV integer not null, TAXONBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, MARKERS_ID) ); create table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE ( TAXONBASE_ID integer not null, SOURCES_ID integer not null, primary key (TAXONBASE_ID, SOURCES_ID) ); create table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE_AUD ( REV integer not null, TAXONBASE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, SOURCES_ID) ); create table PUBLIC.TAXONBASE_RIGHTSINFO ( TAXONBASE_ID integer not null, RIGHTS_ID integer not null, primary key (TAXONBASE_ID, RIGHTS_ID) ); create table PUBLIC.TAXONBASE_RIGHTSINFO_AUD ( REV integer not null, TAXONBASE_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONBASE_ID, RIGHTS_ID) ); create table PUBLIC.TAXONINTERACTION_LANGUAGESTRING ( TAXONINTERACTION_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, primary key (TAXONINTERACTION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.TAXONINTERACTION_LANGUAGESTRING_AUD ( REV integer not null, TAXONINTERACTION_ID integer not null, DESCRIPTION_ID integer not null, DESCRIPTION_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONINTERACTION_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID) ); create table PUBLIC.TAXONNAME ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), ACRONYM varchar(255), ANAMORPHIC boolean not null, APPENDEDPHRASE varchar(255), AUTHORSHIPCACHE varchar(255), BINOMHYBRID boolean not null, BREED varchar(255), CULTIVAREPITHET varchar(255), CULTIVARGROUPEPITHET varchar(255), FULLTITLECACHE varchar(800), GENUSORUNINOMIAL varchar(255), HYBRIDFORMULA boolean not null, INFRAGENERICEPITHET varchar(255), INFRASPECIFICEPITHET varchar(255), MONOMHYBRID boolean not null, NAMEAPPROBATION varchar(255), NAMECACHE varchar(255), NAMETYPE varchar(15), ORIGINALPUBLICATIONYEAR integer, PARSINGPROBLEM integer not null, PROBLEMENDS integer not null, PROBLEMSTARTS integer not null, PROTECTEDAUTHORSHIPCACHE boolean not null, PROTECTEDFULLTITLECACHE boolean not null, PROTECTEDNAMECACHE boolean not null, PUBLICATIONYEAR integer, SPECIFICEPITHET varchar(255), SUBGENUSAUTHORSHIP varchar(255), TRINOMHYBRID boolean not null, CREATEDBY_ID integer, UPDATEDBY_ID integer, BASIONYMAUTHORSHIP_ID integer, COMBINATIONAUTHORSHIP_ID integer, EXBASIONYMAUTHORSHIP_ID integer, EXCOMBINATIONAUTHORSHIP_ID integer, HOMOTYPICALGROUP_ID integer, INBASIONYMAUTHORSHIP_ID integer, INCOMBINATIONAUTHORSHIP_ID integer, RANK_ID integer, primary key (ID) ); create table PUBLIC.TAXONNAME_ANNOTATION ( TAXONNAME_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TAXONNAME_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONNAME_ANNOTATION_AUD ( REV integer not null, TAXONNAME_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONNAME_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), ACRONYM varchar(255), ANAMORPHIC boolean, APPENDEDPHRASE varchar(255), AUTHORSHIPCACHE varchar(255), BINOMHYBRID boolean, BREED varchar(255), CULTIVAREPITHET varchar(255), CULTIVARGROUPEPITHET varchar(255), FULLTITLECACHE varchar(800), GENUSORUNINOMIAL varchar(255), HYBRIDFORMULA boolean, INFRAGENERICEPITHET varchar(255), INFRASPECIFICEPITHET varchar(255), MONOMHYBRID boolean, NAMEAPPROBATION varchar(255), NAMECACHE varchar(255), NAMETYPE varchar(15), ORIGINALPUBLICATIONYEAR integer, PARSINGPROBLEM integer, PROBLEMENDS integer, PROBLEMSTARTS integer, PROTECTEDAUTHORSHIPCACHE boolean, PROTECTEDFULLTITLECACHE boolean, PROTECTEDNAMECACHE boolean, PUBLICATIONYEAR integer, SPECIFICEPITHET varchar(255), SUBGENUSAUTHORSHIP varchar(255), TRINOMHYBRID boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, BASIONYMAUTHORSHIP_ID integer, COMBINATIONAUTHORSHIP_ID integer, EXBASIONYMAUTHORSHIP_ID integer, EXCOMBINATIONAUTHORSHIP_ID integer, HOMOTYPICALGROUP_ID integer, INBASIONYMAUTHORSHIP_ID integer, INCOMBINATIONAUTHORSHIP_ID integer, RANK_ID integer, primary key (ID, REV) ); create table PUBLIC.TAXONNAME_CREDIT ( TAXONNAME_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (TAXONNAME_ID, SORTINDEX) ); create table PUBLIC.TAXONNAME_CREDIT_AUD ( REV integer not null, TAXONNAME_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.TAXONNAME_EXTENSION ( TAXONNAME_ID integer not null, EXTENSIONS_ID integer not null, primary key (TAXONNAME_ID, EXTENSIONS_ID) ); create table PUBLIC.TAXONNAME_EXTENSION_AUD ( REV integer not null, TAXONNAME_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, EXTENSIONS_ID) ); create table PUBLIC.TAXONNAME_EXTERNALLINK ( TAXONNAME_ID integer not null, LINKS_ID integer not null, primary key (TAXONNAME_ID, LINKS_ID) ); create table PUBLIC.TAXONNAME_EXTERNALLINK_AUD ( REV integer not null, TAXONNAME_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, LINKS_ID) ); create table PUBLIC.TAXONNAME_IDENTIFIER ( TAXONNAME_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (TAXONNAME_ID, SORTINDEX) ); create table PUBLIC.TAXONNAME_IDENTIFIER_AUD ( REV integer not null, TAXONNAME_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.TAXONNAME_MARKER ( TAXONNAME_ID integer not null, MARKERS_ID integer not null, primary key (TAXONNAME_ID, MARKERS_ID) ); create table PUBLIC.TAXONNAME_MARKER_AUD ( REV integer not null, TAXONNAME_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, MARKERS_ID) ); create table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE ( TAXONNAME_ID integer not null, SOURCES_ID integer not null, primary key (TAXONNAME_ID, SOURCES_ID) ); create table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE_AUD ( REV integer not null, TAXONNAME_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, SOURCES_ID) ); create table PUBLIC.TAXONNAME_RIGHTSINFO ( TAXONNAME_ID integer not null, RIGHTS_ID integer not null, primary key (TAXONNAME_ID, RIGHTS_ID) ); create table PUBLIC.TAXONNAME_RIGHTSINFO_AUD ( REV integer not null, TAXONNAME_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, RIGHTS_ID) ); create table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE ( TAXONNAME_ID integer not null, TYPEDESIGNATIONS_ID integer not null, primary key (TAXONNAME_ID, TYPEDESIGNATIONS_ID) ); create table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE_AUD ( REV integer not null, TAXONNAME_ID integer not null, TYPEDESIGNATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNAME_ID, TYPEDESIGNATIONS_ID) ); create table PUBLIC.TAXONNODE ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, COUNTCHILDREN integer not null, STATUS varchar(10), TREEINDEX varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, CLASSIFICATION_ID integer, PARENT_ID integer, SYNONYMTOBEUSED_ID integer, TAXON_ID integer, SORTINDEX integer, primary key (ID) ); create table PUBLIC.TAXONNODE_ANNOTATION ( TAXONNODE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TAXONNODE_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONNODE_ANNOTATION_AUD ( REV integer not null, TAXONNODE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNODE_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONNODE_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, COUNTCHILDREN integer, STATUS varchar(10), TREEINDEX varchar(255), SORTINDEX integer, CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, CLASSIFICATION_ID integer, PARENT_ID integer, SYNONYMTOBEUSED_ID integer, TAXON_ID integer, primary key (ID, REV) ); create table PUBLIC.TAXONNODE_MARKER ( TAXONNODE_ID integer not null, MARKERS_ID integer not null, primary key (TAXONNODE_ID, MARKERS_ID) ); create table PUBLIC.TAXONNODE_MARKER_AUD ( REV integer not null, TAXONNODE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNODE_ID, MARKERS_ID) ); create table PUBLIC.TAXONNODE_STATUSNOTE ( TAXONNODE_ID integer not null, STATUSNOTE_ID integer not null, STATUSNOTE_KEY integer not null, primary key (TAXONNODE_ID, STATUSNOTE_KEY) ); create table PUBLIC.TAXONNODE_STATUSNOTE_AUD ( REV integer not null, TAXONNODE_ID integer not null, STATUSNOTE_ID integer not null, STATUSNOTE_KEY integer not null, REVTYPE tinyint, primary key (REV, TAXONNODE_ID, STATUSNOTE_ID, STATUSNOTE_KEY) ); create table PUBLIC.TAXONNODEAGENTRELATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, AGENT_ID integer, TAXONNODE_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION ( TAXONNODEAGENTRELATION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TAXONNODEAGENTRELATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION_AUD ( REV integer not null, TAXONNODEAGENTRELATION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNODEAGENTRELATION_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONNODEAGENTRELATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, CREATEDBY_ID integer, UPDATEDBY_ID integer, AGENT_ID integer, TAXONNODE_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.TAXONNODEAGENTRELATION_MARKER ( TAXONNODEAGENTRELATION_ID integer not null, MARKERS_ID integer not null, primary key (TAXONNODEAGENTRELATION_ID, MARKERS_ID) ); create table PUBLIC.TAXONNODEAGENTRELATION_MARKER_AUD ( REV integer not null, TAXONNODEAGENTRELATION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONNODEAGENTRELATION_ID, MARKERS_ID) ); create table PUBLIC.TAXONOMICOPERATION ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), TYPE varchar(20), CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID) ); create table PUBLIC.TAXONOMICOPERATION_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TIMEPERIOD_END varchar(255), TIMEPERIOD_FREETEXT varchar(255), TIMEPERIOD_START varchar(255), TYPE varchar(20), CREATEDBY_ID integer, UPDATEDBY_ID integer, primary key (ID, REV) ); create table PUBLIC.TAXONRELATIONSHIP ( ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DOUBTFUL boolean not null, CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, OPERATION_ID integer, RELATEDFROM_ID integer, RELATEDTO_ID integer, TYPE_ID integer, primary key (ID) ); create table PUBLIC.TAXONRELATIONSHIP_ANNOTATION ( TAXONRELATIONSHIP_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TAXONRELATIONSHIP_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONRELATIONSHIP_ANNOTATION_AUD ( REV integer not null, TAXONRELATIONSHIP_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONRELATIONSHIP_ID, ANNOTATIONS_ID) ); create table PUBLIC.TAXONRELATIONSHIP_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, DOUBTFUL boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, SOURCE_ID integer, OPERATION_ID integer, RELATEDFROM_ID integer, RELATEDTO_ID integer, TYPE_ID integer, primary key (ID, REV) ); create table PUBLIC.TAXONRELATIONSHIP_MARKER ( TAXONRELATIONSHIP_ID integer not null, MARKERS_ID integer not null, primary key (TAXONRELATIONSHIP_ID, MARKERS_ID) ); create table PUBLIC.TAXONRELATIONSHIP_MARKER_AUD ( REV integer not null, TAXONRELATIONSHIP_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TAXONRELATIONSHIP_ID, MARKERS_ID) ); create table PUBLIC.TERMCOLLECTION ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean not null, TITLECACHE varchar(800), TERMTYPE varchar(255), URI clob, ALLOWDUPLICATES boolean not null, ISFLAT boolean not null, ORDERRELEVANT boolean not null, AUTHORITYTYPE varchar(10), EXTERNALID varchar(255), EXTERNALLINK clob, IMPORTMETHOD varchar(30), LASTRETRIEVED timestamp, TERMSOURCEURI clob, CREATEDBY_ID integer, UPDATEDBY_ID integer, ROOT_ID integer, primary key (ID) ); create table PUBLIC.TERMCOLLECTION_ANNOTATION ( TERMCOLLECTION_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TERMCOLLECTION_ID, ANNOTATIONS_ID) ); create table PUBLIC.TERMCOLLECTION_ANNOTATION_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, ANNOTATIONS_ID) ); create table PUBLIC.TERMCOLLECTION_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, LSID_AUTHORITY varchar(255), LSID_LSID varchar(255), LSID_NAMESPACE varchar(255), LSID_OBJECT varchar(255), LSID_REVISION varchar(255), PROTECTEDTITLECACHE boolean, TITLECACHE varchar(800), TERMTYPE varchar(255), URI clob, ALLOWDUPLICATES boolean, ISFLAT boolean, ORDERRELEVANT boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, ROOT_ID integer, AUTHORITYTYPE varchar(10), EXTERNALID varchar(255), EXTERNALLINK clob, IMPORTMETHOD varchar(30), LASTRETRIEVED timestamp, TERMSOURCEURI clob, primary key (ID, REV) ); create table PUBLIC.TERMCOLLECTION_CREDIT ( TERMCOLLECTION_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, primary key (TERMCOLLECTION_ID, SORTINDEX) ); create table PUBLIC.TERMCOLLECTION_CREDIT_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, CREDITS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, CREDITS_ID, SORTINDEX) ); create table PUBLIC.TERMCOLLECTION_EXTENSION ( TERMCOLLECTION_ID integer not null, EXTENSIONS_ID integer not null, primary key (TERMCOLLECTION_ID, EXTENSIONS_ID) ); create table PUBLIC.TERMCOLLECTION_EXTENSION_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, EXTENSIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, EXTENSIONS_ID) ); create table PUBLIC.TERMCOLLECTION_EXTERNALLINK ( TERMCOLLECTION_ID integer not null, LINKS_ID integer not null, primary key (TERMCOLLECTION_ID, LINKS_ID) ); create table PUBLIC.TERMCOLLECTION_EXTERNALLINK_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, LINKS_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, LINKS_ID) ); create table PUBLIC.TERMCOLLECTION_IDENTIFIER ( TERMCOLLECTION_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, primary key (TERMCOLLECTION_ID, SORTINDEX) ); create table PUBLIC.TERMCOLLECTION_IDENTIFIER_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, IDENTIFIERS_ID integer not null, SORTINDEX integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, IDENTIFIERS_ID, SORTINDEX) ); create table PUBLIC.TERMCOLLECTION_MARKER ( TERMCOLLECTION_ID integer not null, MARKERS_ID integer not null, primary key (TERMCOLLECTION_ID, MARKERS_ID) ); create table PUBLIC.TERMCOLLECTION_MARKER_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, MARKERS_ID) ); create table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE ( TERMCOLLECTION_ID integer not null, SOURCES_ID integer not null, primary key (TERMCOLLECTION_ID, SOURCES_ID) ); create table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, SOURCES_ID) ); create table PUBLIC.TERMCOLLECTION_REPRESENTATION ( TERMCOLLECTION_ID integer not null, REPRESENTATIONS_ID integer not null, primary key (TERMCOLLECTION_ID, REPRESENTATIONS_ID) ); create table PUBLIC.TERMCOLLECTION_REPRESENTATION_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, REPRESENTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, REPRESENTATIONS_ID) ); create table PUBLIC.TERMCOLLECTION_RIGHTSINFO ( TERMCOLLECTION_ID integer not null, RIGHTS_ID integer not null, primary key (TERMCOLLECTION_ID, RIGHTS_ID) ); create table PUBLIC.TERMCOLLECTION_RIGHTSINFO_AUD ( REV integer not null, TERMCOLLECTION_ID integer not null, RIGHTS_ID integer not null, REVTYPE tinyint, primary key (REV, TERMCOLLECTION_ID, RIGHTS_ID) ); create table PUBLIC.TERMNODE_INAPPLICABLEIF ( TERMNODE_ID integer not null, INAPPLICABLEIF_ID integer not null, primary key (TERMNODE_ID, INAPPLICABLEIF_ID) ); create table PUBLIC.TERMNODE_INAPPLICABLEIF_AUD ( REV integer not null, TERMNODE_ID integer not null, INAPPLICABLEIF_ID integer not null, REVTYPE tinyint, primary key (REV, TERMNODE_ID, INAPPLICABLEIF_ID) ); create table PUBLIC.TERMNODE_ONLYAPPLICABLEIF ( TERMNODE_ID integer not null, ONLYAPPLICABLEIF_ID integer not null, primary key (TERMNODE_ID, ONLYAPPLICABLEIF_ID) ); create table PUBLIC.TERMNODE_ONLYAPPLICABLEIF_AUD ( REV integer not null, TERMNODE_ID integer not null, ONLYAPPLICABLEIF_ID integer not null, REVTYPE tinyint, primary key (REV, TERMNODE_ID, ONLYAPPLICABLEIF_ID) ); create table PUBLIC.TERMRELATION ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TERMTYPE varchar(255), TREEINDEX varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, GRAPH_ID integer, TERM_ID integer, PARENT_ID integer, TOTERM_ID integer, SORTINDEX integer, primary key (ID) ); create table PUBLIC.TERMRELATION_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, TERMTYPE varchar(255), CREATEDBY_ID integer, UPDATEDBY_ID integer, GRAPH_ID integer, TERM_ID integer, TOTERM_ID integer, TREEINDEX varchar(255), SORTINDEX integer, PARENT_ID integer, primary key (ID, REV) ); create table PUBLIC.TYPEDESIGNATIONBASE ( DTYPE varchar(31) not null, ID integer not null, CREATED timestamp, UUID varchar(36), UPDATED timestamp, NOTDESIGNATED boolean not null, CONSERVEDTYPE boolean, REJECTEDTYPE boolean, ISVERBATIM boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, DESIGNATIONSOURCE_ID integer, TYPESTATUS_ID integer, TYPENAME_ID integer, TYPESPECIMEN_ID integer, primary key (ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION ( TYPEDESIGNATIONBASE_ID integer not null, ANNOTATIONS_ID integer not null, primary key (TYPEDESIGNATIONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION_AUD ( REV integer not null, TYPEDESIGNATIONBASE_ID integer not null, ANNOTATIONS_ID integer not null, REVTYPE tinyint, primary key (REV, TYPEDESIGNATIONBASE_ID, ANNOTATIONS_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_AUD ( ID integer not null, REV integer not null, DTYPE varchar(31) not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), UPDATED timestamp, NOTDESIGNATED boolean, CREATEDBY_ID integer, UPDATEDBY_ID integer, DESIGNATIONSOURCE_ID integer, TYPESTATUS_ID integer, ISVERBATIM boolean, CONSERVEDTYPE boolean, REJECTEDTYPE boolean, TYPENAME_ID integer, TYPESPECIMEN_ID integer, primary key (ID, REV) ); create table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING ( TEXTUALTYPEDESIGNATION_ID integer not null, TEXT_ID integer not null, TEXT_MAPKEY_ID integer not null, primary key (TEXTUALTYPEDESIGNATION_ID, TEXT_MAPKEY_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING_AUD ( REV integer not null, TEXTUALTYPEDESIGNATION_ID integer not null, TEXT_ID integer not null, TEXT_MAPKEY_ID integer not null, REVTYPE tinyint, primary key (REV, TEXTUALTYPEDESIGNATION_ID, TEXT_ID, TEXT_MAPKEY_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_MARKER ( TYPEDESIGNATIONBASE_ID integer not null, MARKERS_ID integer not null, primary key (TYPEDESIGNATIONBASE_ID, MARKERS_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_MARKER_AUD ( REV integer not null, TYPEDESIGNATIONBASE_ID integer not null, MARKERS_ID integer not null, REVTYPE tinyint, primary key (REV, TYPEDESIGNATIONBASE_ID, MARKERS_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE ( TYPEDESIGNATIONBASE_ID integer not null, SOURCES_ID integer not null, primary key (TYPEDESIGNATIONBASE_ID, SOURCES_ID) ); create table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE_AUD ( REV integer not null, TYPEDESIGNATIONBASE_ID integer not null, SOURCES_ID integer not null, REVTYPE tinyint, primary key (REV, TYPEDESIGNATIONBASE_ID, SOURCES_ID) ); create table PUBLIC.USERACCOUNT ( ID integer not null, CREATED timestamp, UUID varchar(36), ACCOUNTNONEXPIRED boolean not null, ACCOUNTNONLOCKED boolean not null, CREDENTIALSNONEXPIRED boolean not null, EMAILADDRESS varchar(255), ENABLED boolean not null, PASSWORD varchar(255), SALT varchar(255), USERNAME varchar(255), CREATEDBY_ID integer, PERSON_ID integer, primary key (ID) ); create table PUBLIC.USERACCOUNT_AUD ( ID integer not null, REV integer not null, REVTYPE tinyint, CREATED timestamp, UUID varchar(36), ACCOUNTNONEXPIRED boolean, ACCOUNTNONLOCKED boolean, CREDENTIALSNONEXPIRED boolean, EMAILADDRESS varchar(255), ENABLED boolean, USERNAME varchar(255), CREATEDBY_ID integer, PERSON_ID integer, primary key (ID, REV) ); create table PUBLIC.USERACCOUNT_AUTHORITY ( USER_ID integer not null, AUTHORITIES_ID integer not null, primary key (USER_ID, AUTHORITIES_ID) ); create table PUBLIC.USERACCOUNT_GRANTEDAUTHORITYIMPL ( USER_ID integer not null, GRANTEDAUTHORITIES_ID integer not null, primary key (USER_ID, GRANTEDAUTHORITIES_ID) ); create table PUBLIC.USERACCOUNT_PERMISSIONGROUP ( MEMBERS_ID integer not null, GROUPS_ID integer not null, primary key (MEMBERS_ID, GROUPS_ID) ); alter table PUBLIC.ADDRESS add constraint UK_9clb583wvapp1ci5oeisrt61 unique (UUID); create index PUBLIC.agentTitleCacheIndex on PUBLIC.AGENTBASE (TITLECACHE); alter table PUBLIC.AGENTBASE add constraint UK_4ei0rlutaalnvnubcnow3ef1 unique (UUID); alter table PUBLIC.AGENTBASE_ADDRESS add constraint UK_cvdiogpr0laels61vj8bnc4ng unique (CONTACT_ADDRESSES_ID); alter table PUBLIC.AGENTBASE_ANNOTATION add constraint UK_6s0cudxh96hovi0u0rucvaulp unique (ANNOTATIONS_ID); alter table PUBLIC.AGENTBASE_CREDIT add constraint UK_9y4svg7lhlc4uveq3syw11j36 unique (CREDITS_ID); alter table PUBLIC.AGENTBASE_EXTENSION add constraint UK_rem00q8m9f46ejhjqnptpt7hk unique (EXTENSIONS_ID); alter table PUBLIC.AGENTBASE_EXTERNALLINK add constraint UK_8cjw4ns8v404ceichpxmkkcqt unique (LINKS_ID); alter table PUBLIC.AGENTBASE_IDENTIFIER add constraint UK_9o5liw6mq29n2oes8pkfj4l4a unique (IDENTIFIERS_ID); alter table PUBLIC.AGENTBASE_MARKER add constraint UK_q2aychk6t9tcrxfuuy1i4l5wb unique (MARKERS_ID); alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE add constraint UK_oaeqnvcpn9ylgvbva7n39xhmh unique (SOURCES_ID); alter table PUBLIC.AMPLIFICATION add constraint UK_h4ko0h40lll1pvyaaulh4naav unique (UUID); alter table PUBLIC.AMPLIFICATION_ANNOTATION add constraint UK_3dh4jvnl5ayu9vegv784ncahu unique (ANNOTATIONS_ID); alter table PUBLIC.AMPLIFICATION_MARKER add constraint UK_opkihlv8e7lba21tykv7v7hh6 unique (MARKERS_ID); alter table PUBLIC.AMPLIFICATIONRESULT add constraint UK_73e8bdi0f8fdsenryj6jcn5rs unique (UUID); alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION add constraint UK_jceqjpdtpx9mt7qvrkr9tbs0q unique (ANNOTATIONS_ID); alter table PUBLIC.AMPLIFICATIONRESULT_MARKER add constraint UK_7n9vx2thf0flns8c58bexyv6j unique (MARKERS_ID); alter table PUBLIC.ANNOTATION add constraint UK_mu34eryd59s0hn00cu5tx3ron unique (UUID); alter table PUBLIC.ANNOTATION_ANNOTATION add constraint UK_diab6q8r8tc0w6daye8dr6tdi unique (ANNOTATIONS_ID); alter table PUBLIC.ANNOTATION_MARKER add constraint UK_jycj0vang3ijurbbp4toejxnq unique (MARKERS_ID); alter table PUBLIC.AUTHORITY add constraint UK_8xsrgqm96m9lrarc6oo4og4hp unique (UUID); alter table PUBLIC.CDMLINK add constraint UK_p7g8aby1jwbukospmq8gwki37 unique (UUID); alter table PUBLIC.CDMMETADATA add constraint UK_99gyqm5udalalfmwbvralhh92 unique (UUID); alter table PUBLIC.CLASSIFICATION add constraint UK_nqawfsih67rp1ptf6ld6fr3g4 unique (UUID); alter table PUBLIC.CLASSIFICATION_ANNOTATION add constraint UK_sl8wuile23wqvex1rbfa7g3da unique (ANNOTATIONS_ID); alter table PUBLIC.CLASSIFICATION_CREDIT add constraint UK_99wcpwd19nw7vrcpfc0br5v1a unique (CREDITS_ID); alter table PUBLIC.CLASSIFICATION_DESCRIPTION add constraint UK_beqh9hktrc4y1retfd7wmnclu unique (DESCRIPTION_ID); alter table PUBLIC.CLASSIFICATION_EXTENSION add constraint UK_fk1h0ttdug97dofinalp4boiu unique (EXTENSIONS_ID); alter table PUBLIC.CLASSIFICATION_EXTERNALLINK add constraint UK_kf5p4cr5vgj0407w89v82gqnn unique (LINKS_ID); alter table PUBLIC.CLASSIFICATION_IDENTIFIER add constraint UK_ha3vuterlgkpjaacuass551nu unique (IDENTIFIERS_ID); alter table PUBLIC.CLASSIFICATION_MARKER add constraint UK_39r93iquk0seccq3a49qjcwmu unique (MARKERS_ID); alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE add constraint UK_1472iuoq8xgfwclvp4jsyiyqp unique (SOURCES_ID); create index PUBLIC.collectionTitleCacheIndex on PUBLIC.COLLECTION (TITLECACHE); alter table PUBLIC.COLLECTION add constraint UK_6r423jyk86wpvr89sotn9uhyh unique (UUID); alter table PUBLIC.COLLECTION_ANNOTATION add constraint UK_4lowyr94wfg09na4evnnih1jd unique (ANNOTATIONS_ID); alter table PUBLIC.COLLECTION_CREDIT add constraint UK_rqfs5w3up9dgd3hwu40l2r9go unique (CREDITS_ID); alter table PUBLIC.COLLECTION_EXTENSION add constraint UK_gyc0cprm86m7lif1rqy3rm6am unique (EXTENSIONS_ID); alter table PUBLIC.COLLECTION_EXTERNALLINK add constraint UK_h402cb7gl1p2hp3cpx15t43hc unique (LINKS_ID); alter table PUBLIC.COLLECTION_IDENTIFIER add constraint UK_5jqv1wsi7e9x4j7j63p09iydg unique (IDENTIFIERS_ID); alter table PUBLIC.COLLECTION_MARKER add constraint UK_qi5mqhonhu6iwomnqoebbnjgs unique (MARKERS_ID); alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE add constraint UK_h54orj0te9bynutrg7sgn3k75 unique (SOURCES_ID); alter table PUBLIC.CREDIT add constraint UK_nc0wrn96hh7ep5vn77wp1jscu unique (UUID); alter table PUBLIC.CREDIT_ANNOTATION add constraint UK_a35lqrqu1o76x2ov0r3jaiweu unique (ANNOTATIONS_ID); alter table PUBLIC.CREDIT_MARKER add constraint UK_4pkhcnhk7pypxu4jqj9ofq8yn unique (MARKERS_ID); alter table PUBLIC.DEFINEDTERMBASE add constraint UK_psnti5ip73xb2bejsld78m1py unique (UUID); alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION add constraint UK_rkf21bv6vx08d29oxkorfw427 unique (ANNOTATIONS_ID); alter table PUBLIC.DEFINEDTERMBASE_CREDIT add constraint UK_alayy9tbx56ae6liqxfls543c unique (CREDITS_ID); alter table PUBLIC.DEFINEDTERMBASE_EXTENSION add constraint UK_9dif6hvl5aneafhnokip4ddvm unique (EXTENSIONS_ID); alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK add constraint UK_2yqnc61bk1g61amrpdmvgrovh unique (LINKS_ID); alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER add constraint UK_2f7c1h6jiy53if9lafo5a440x unique (IDENTIFIERS_ID); alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION add constraint UK_2bsje3ep6kseejpxd0tp3g8cv unique (INVERSEREPRESENTATIONS_ID); alter table PUBLIC.DEFINEDTERMBASE_MARKER add constraint UK_l2l1fq7qf502h5gfbq7j6n3mn unique (MARKERS_ID); alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE add constraint UK_ejw4fuvlfs4af2y0fd0hej3ai unique (SOURCES_ID); alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION add constraint UK_g6op0how9xhuf8osa1f4m5nvo unique (REPRESENTATIONS_ID); alter table PUBLIC.DERIVATIONEVENT add constraint UK_2xtoagqa8n458v49ap1pbllsh unique (UUID); alter table PUBLIC.DERIVATIONEVENT_ANNOTATION add constraint UK_gc9w9dn83oo6q4e7sdojy4kuq unique (ANNOTATIONS_ID); alter table PUBLIC.DERIVATIONEVENT_MARKER add constraint UK_99oosnn09f9ygcmeen15lsmqr unique (MARKERS_ID); alter table PUBLIC.DESCRIPTIONBASE add constraint UK_df4fx5ki8bypbjofgyoccs64w unique (UUID); alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION add constraint UK_laxprubofx54e45bms9t7sg2f unique (ANNOTATIONS_ID); alter table PUBLIC.DESCRIPTIONBASE_CREDIT add constraint UK_838hic0ia4xs89sw1058i6p2k unique (CREDITS_ID); alter table PUBLIC.DESCRIPTIONBASE_EXTENSION add constraint UK_kv2o30k0kmn337wly93cp3wri unique (EXTENSIONS_ID); alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK add constraint UK_74t9m4y4lq8qbrhvum6298yhb unique (LINKS_ID); alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER add constraint UK_cmvdtu0etv97kmcnnysnhska7 unique (IDENTIFIERS_ID); alter table PUBLIC.DESCRIPTIONBASE_MARKER add constraint UK_napxj2u5ysal1itu3b3i7kil9 unique (MARKERS_ID); alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE add constraint UK_gaaqecejj6gk4mp9fseo00907 unique (SOURCES_ID); alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint UK_75kga2fwo0rvfdtpb5meocduj unique (UUID); alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION add constraint UK_ixgli0qk2cas7128ujrti6y5h unique (ANNOTATIONS_ID); alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING add constraint UK_pa998ww8yh7c4f3lclq5idnsb unique (MULTILANGUAGETEXT_ID); alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER add constraint UK_bobj0hopby071s1xhlsk605cr unique (MARKERS_ID); alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT add constraint UK_ew1xlx48jefqrfux2rb2yyuv1 unique (MODIFYINGTEXT_ID); alter table PUBLIC.DESCRIPTIVEDATASET add constraint UK_4u34f69h4ujnpci1fiaqfbbbf unique (UUID); alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION add constraint UK_8lgyefjk89e5v4lsq5pnp8xow unique (ANNOTATIONS_ID); alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT add constraint UK_quq231wblu9abtqjpixtinvmc unique (CREDITS_ID); alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION add constraint UK_tky0pww5iqg8tfuelhsq81e08 unique (EXTENSIONS_ID); alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK add constraint UK_q092ogptflabu8w40cf9bab8d unique (LINKS_ID); alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER add constraint UK_n01ftofpntemp0lskda360asv unique (IDENTIFIERS_ID); alter table PUBLIC.DESCRIPTIVEDATASET_MARKER add constraint UK_3uudtc3awclptgru52sk6cv37 unique (MARKERS_ID); alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE add constraint UK_9lpflbbhkll6d3co3vf6ciebe unique (SOURCES_ID); alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION add constraint UK_n2j0pcwee94m4ubhdp5j2mpb4 unique (REPRESENTATIONS_ID); alter table PUBLIC.DETERMINATIONEVENT add constraint UK_oxf2ym92njr7whsj4gl9s249a unique (UUID); alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION add constraint UK_cghyhbvsmei4646bx7seawxin unique (ANNOTATIONS_ID); alter table PUBLIC.DETERMINATIONEVENT_MARKER add constraint UK_rstkk68kt55j2f63fc0q4m2ns unique (MARKERS_ID); alter table PUBLIC.DNAQUALITY add constraint UK_8agtfcxhkai1eem9ufiwvgctw unique (UUID); alter table PUBLIC.ENTITYCONSTRAINTVIOLATION add constraint UK_hamskc9agohwhjqci2w8et0gd unique (UUID); alter table PUBLIC.ENTITYVALIDATION add constraint UK_lkhhv2fav0hj128s652t5u8lq unique (UUID); alter table PUBLIC.EXTENSION add constraint UK_c5nj171x4dca6ml8a03p3pq0y unique (UUID); alter table PUBLIC.EXTERNALLINK add constraint UK_gduah5s46v7pn6jb2h4d9fxh4 unique (UUID); alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING add constraint UK_on4cnu6bysf4ogtqjq20lbhq4 unique (DESCRIPTION_ID); alter table PUBLIC.FEATURESTATE add constraint UK_ovjy8a6ajertbjasdcg0gbt7c unique (UUID); alter table PUBLIC.GATHERINGEVENT add constraint UK_3umqstcmw1s4idfb917fi4sjt unique (UUID); alter table PUBLIC.GATHERINGEVENT_ANNOTATION add constraint UK_5hf9i5nhvm66ybfvafe5hrui0 unique (ANNOTATIONS_ID); alter table PUBLIC.GATHERINGEVENT_MARKER add constraint UK_s9yrejry52c3sy81r2ikoi8h2 unique (MARKERS_ID); alter table PUBLIC.GRANTEDAUTHORITYIMPL add constraint UK_rngb7w69h2ccred6rgvn9ajef unique (UUID); alter table PUBLIC.GRANTEDAUTHORITYIMPL add constraint UK_kluqifir9uwyt1v1gwiapsav9 unique (AUTHORITY); alter table PUBLIC.HOMOTYPICALGROUP add constraint UK_5v8ugjbk3i9k4cppfpkpwnsik unique (UUID); alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION add constraint UK_173rdn88dcfrnvngblw3dxqgr unique (ANNOTATIONS_ID); alter table PUBLIC.HOMOTYPICALGROUP_MARKER add constraint UK_c0l8leexhg1xyf253o4j0jjky unique (MARKERS_ID); alter table PUBLIC.HYBRIDRELATIONSHIP add constraint UK_hvbo7jkvihx3mrg07g3w70c9d unique (UUID); alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION add constraint UK_13y92s9sri1br1emvqtplcfsx unique (ANNOTATIONS_ID); alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER add constraint UK_6ioyjrlpuqj4b3atmkqp8f461 unique (MARKERS_ID); create index PUBLIC.identifierIndex on PUBLIC.IDENTIFIER (IDENTIFIER); alter table PUBLIC.IDENTIFIER add constraint UK_e8yq6g9ax49hr1bglo81e7rak unique (UUID); alter table PUBLIC.IDENTIFIER_ANNOTATION add constraint UK_6x1kypi91p9n2m5el0t4gs0q2 unique (ANNOTATIONS_ID); alter table PUBLIC.IDENTIFIER_MARKER add constraint UK_7cgblyq3d0hq6m6l4ei0jekwy unique (MARKERS_ID); alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING add constraint UK_h4j460ta6ucanjwk3utn3jrbe unique (DESCRIPTION_ID); alter table PUBLIC.INSTITUTIONALMEMBERSHIP add constraint UK_mgbnvvnn1u3uyfki50nort2mp unique (UUID); alter table PUBLIC.KEYSTATEMENT add constraint UK_alsrknyt8ypwq1064r3lmrnat unique (UUID); alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING add constraint UK_lm25srmact7ftq3f6wbkaryvb unique (LABEL_ID); alter table PUBLIC.LANGUAGESTRING add constraint UK_giwyr684cmf754vu9p3ugaibn unique (UUID); alter table PUBLIC.LANGUAGESTRING_ANNOTATION add constraint UK_hlqpn5o077v146lk1em0rt9ls unique (ANNOTATIONS_ID); alter table PUBLIC.LANGUAGESTRING_MARKER add constraint UK_qq4jf37c9do79fnwn78excag unique (MARKERS_ID); alter table PUBLIC.LSIDAUTHORITY add constraint UK_rddq46ttjgfetrsnhoj3fla3s unique (UUID, AUTHORITY); alter table PUBLIC.MARKER add constraint UK_833bcnp9gc4vx1kmhbk7h15si unique (UUID); alter table PUBLIC.MATERIALORMETHODEVENT add constraint UK_hde768a425jcvaoafytdcler1 unique (UUID); alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION add constraint UK_aoc5dowwrv20ujlr4vsbbue1o unique (ANNOTATIONS_ID); alter table PUBLIC.MATERIALORMETHODEVENT_MARKER add constraint UK_epjt9lpulngp56d2vwyfot38h unique (MARKERS_ID); alter table PUBLIC.MEDIA add constraint UK_e903skexx8bi2xrru5fj3ws1v unique (UUID); alter table PUBLIC.MEDIA_ANNOTATION add constraint UK_27iy9xlqsjh9u6r9lguk6frjw unique (ANNOTATIONS_ID); alter table PUBLIC.MEDIA_CREDIT add constraint UK_p95ivxcnvm67eon1qy6unn1pk unique (CREDITS_ID); alter table PUBLIC.MEDIA_DESCRIPTION add constraint UK_ls9ed68vr7becmhacmwuvm377 unique (DESCRIPTION_ID); alter table PUBLIC.MEDIA_EXTENSION add constraint UK_mlnxopk4gwce49x3lr4xanp8c unique (EXTENSIONS_ID); alter table PUBLIC.MEDIA_EXTERNALLINK add constraint UK_jwhh1o8ma1x0crw4dfb2lcebj unique (LINKS_ID); alter table PUBLIC.MEDIA_IDENTIFIER add constraint UK_px8b20lrxle2bk015fvc6fghi unique (IDENTIFIERS_ID); alter table PUBLIC.MEDIA_LANGUAGESTRING add constraint UK_edhxisfrvom1781d06q3ybmhu unique (TITLE_ID); alter table PUBLIC.MEDIA_MARKER add constraint UK_tijp58aaycrm4c29pcprd0b5d unique (MARKERS_ID); alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE add constraint UK_82tfn9ftk3740pg40bc3ifgjr unique (SOURCES_ID); alter table PUBLIC.MEDIA_REPRESENTATION add constraint UK_2jag0s8fk0hn5ceichsjfg6qi unique (KEYREPRESENTATIONS_ID); alter table PUBLIC.MEDIAMETADATA add constraint UK_rd6dmkti568ace8drcd56g309 unique (UUID); alter table PUBLIC.MEDIAREPRESENTATION add constraint UK_spthhq2u1quivt0ogwhkrm2nm unique (UUID); alter table PUBLIC.MEDIAREPRESENTATIONPART add constraint UK_39r3g6unkr1ihlkis8e5evts7 unique (UUID); alter table PUBLIC.NAMERELATIONSHIP add constraint UK_cwn9kp29mwken47qmosriq5mm unique (UUID); alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION add constraint UK_8bc04siyxgik88glkvkoqpwy8 unique (ANNOTATIONS_ID); alter table PUBLIC.NAMERELATIONSHIP_MARKER add constraint UK_d12d1c61qmrioi7nkbar6nc9c unique (MARKERS_ID); alter table PUBLIC.NOMENCLATURALSTATUS add constraint UK_9qx74vyx50c9kx4256q4umbra unique (UUID); alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION add constraint UK_l9jfu3iy2fc5f73k7pk8ol0pi unique (ANNOTATIONS_ID); alter table PUBLIC.NOMENCLATURALSTATUS_MARKER add constraint UK_saklwbur1mqmhvdhsh6dci3iq unique (MARKERS_ID); alter table PUBLIC.OCCURRENCESTATUS add constraint UK_201g7rgldqpqn4jmemit52d1c unique (UUID); alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION add constraint UK_q3p7hbhd61t4brm52guo2eepk unique (ANNOTATIONS_ID); alter table PUBLIC.OCCURRENCESTATUS_MARKER add constraint UK_por4d68d3hn2vxfccdsk34ey9 unique (MARKERS_ID); alter table PUBLIC.ORIGINALSOURCEBASE add constraint UK_9t54m29vo2d7ome1vwvb5nu7l unique (UUID); alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION add constraint UK_bsawlumx8aitv5xjbxhi5fgmf unique (ANNOTATIONS_ID); alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK add constraint UK_6to970y1pydudj76fq0oyx93i unique (LINKS_ID); alter table PUBLIC.ORIGINALSOURCEBASE_MARKER add constraint UK_28k4eysi2u85a98dc8ey5a64v unique (MARKERS_ID); alter table PUBLIC.PERMISSIONGROUP add constraint UK_p8g72itwomreh0b1619s30uou unique (UUID); alter table PUBLIC.PERMISSIONGROUP add constraint UK_d056m1b7ub5218mofxc7yer6c unique (NAME); alter table PUBLIC.POLYTOMOUSKEY add constraint UK_o9oq3tucnxkl7fwc4uhiv07hp unique (UUID); alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION add constraint UK_764kbeevuq12va0qc7omt7w9i unique (ANNOTATIONS_ID); alter table PUBLIC.POLYTOMOUSKEY_CREDIT add constraint UK_681mwyicu64u5e9qhn7h59ivt unique (CREDITS_ID); alter table PUBLIC.POLYTOMOUSKEY_EXTENSION add constraint UK_pqkxu3pukwej04xkqt0ms8sjs unique (EXTENSIONS_ID); alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK add constraint UK_h3d8buneoag332g1jkh8mvvms unique (LINKS_ID); alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER add constraint UK_cvknxr0yd2ytowyc81ofgst18 unique (IDENTIFIERS_ID); alter table PUBLIC.POLYTOMOUSKEY_MARKER add constraint UK_22bvucvl0bgjk46h045g2f14x unique (MARKERS_ID); alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE add constraint UK_lnowp18v9eovm8v9lpfo4y2ls unique (SOURCES_ID); alter table PUBLIC.POLYTOMOUSKEYNODE add constraint UK_3l8qp1vin0xd2qk27ffl2e8u9 unique (UUID); alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING add constraint UK_jnr5d7grv07kwww0y2x77lm6a unique (MODIFYINGTEXT_ID); alter table PUBLIC.PRIMER add constraint UK_i8q8a5i0w2ynuwlwv76uoc2oj unique (UUID); alter table PUBLIC.PRIMER_ANNOTATION add constraint UK_dmvxnfqu6sm3jcj7tqxwsh2nt unique (ANNOTATIONS_ID); alter table PUBLIC.PRIMER_MARKER add constraint UK_rs2l7i9qyoiyf7ntplw16x26w unique (MARKERS_ID); create index PUBLIC.referenceTitleCacheIndex on PUBLIC.REFERENCE (TITLECACHE); alter table PUBLIC.REFERENCE add constraint UK_p5aij0oskebqpdrj3xt4rgh0g unique (UUID); alter table PUBLIC.REFERENCE_ANNOTATION add constraint UK_reoadqaqikai0r09qhvcifilh unique (ANNOTATIONS_ID); alter table PUBLIC.REFERENCE_CREDIT add constraint UK_kqehwvwkio05f5rtbj1xnu0vk unique (CREDITS_ID); alter table PUBLIC.REFERENCE_EXTENSION add constraint UK_8cpu7c1a5jf5w63wonep2ph9i unique (EXTENSIONS_ID); alter table PUBLIC.REFERENCE_EXTERNALLINK add constraint UK_do9wpr7qyg6qkrgm1920us4r9 unique (LINKS_ID); alter table PUBLIC.REFERENCE_IDENTIFIER add constraint UK_26mibvas6188vcn5d8bptc510 unique (IDENTIFIERS_ID); alter table PUBLIC.REFERENCE_MARKER add constraint UK_3sk7anuk8rst1d6sougjitc53 unique (MARKERS_ID); alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE add constraint UK_cs5msb4qf2we8mqao36j4gdib unique (SOURCES_ID); alter table PUBLIC.REGISTRATION add constraint UK_jlmg8hxvasuxkp0eqjp31dchw unique (UUID); alter table PUBLIC.REGISTRATION_ANNOTATION add constraint UK_55urufed66j5kq01tviawb3va unique (ANNOTATIONS_ID); alter table PUBLIC.REGISTRATION_MARKER add constraint UK_2mo4b14e6kl0dvwrmpuejs4m9 unique (MARKERS_ID); alter table PUBLIC.REPRESENTATION add constraint UK_an2rur8uq2apu72tqjhc4yod8 unique (UUID); alter table PUBLIC.REPRESENTATION_ANNOTATION add constraint UK_1pqv8mc7g5nd4ttjjbjpwy4ft unique (ANNOTATIONS_ID); alter table PUBLIC.REPRESENTATION_MARKER add constraint UK_876atb7xdlkjml81wodim8k9h unique (MARKERS_ID); alter table PUBLIC.RIGHTSINFO add constraint UK_l6ym3l79t6ggcw00mahj7gueq unique (UUID); alter table PUBLIC.RIGHTSINFO_ANNOTATION add constraint UK_r3msmoqd706daaud09bom8xti unique (ANNOTATIONS_ID); alter table PUBLIC.RIGHTSINFO_MARKER add constraint UK_3cet6vbo0nilelqwam3jmpe8g unique (MARKERS_ID); alter table PUBLIC.SEQUENCE add constraint UK_bou2od3w7b3271360d2bv07c3 unique (UUID); alter table PUBLIC.SEQUENCE_ANNOTATION add constraint UK_e3rvjtgcdpxa9gyvldcl30w2h unique (ANNOTATIONS_ID); alter table PUBLIC.SEQUENCE_MARKER add constraint UK_gj5sini73vkgaobldhey5bw9t unique (MARKERS_ID); alter table PUBLIC.SINGLEREAD add constraint UK_o868ocfpttd7ifvseqor0g0c3 unique (UUID); alter table PUBLIC.SINGLEREAD_ANNOTATION add constraint UK_tpy02pbwcrchbctine35wkr0f unique (ANNOTATIONS_ID); alter table PUBLIC.SINGLEREAD_MARKER add constraint UK_m9q7b8k3q29nmhso84ev8x1xm unique (MARKERS_ID); alter table PUBLIC.SINGLEREADALIGNMENT add constraint UK_fl9co1dw95f699y1b1m48bhgn unique (UUID); create index PUBLIC.specimenOrObservationBaseTitleCacheIndex on PUBLIC.SPECIMENOROBSERVATIONBASE (TITLECACHE); create index PUBLIC.specimenOrObservationBaseIdentityCacheIndex on PUBLIC.SPECIMENOROBSERVATIONBASE (IDENTITYCACHE); alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint UK_f0cpmddrfy3qfs6dfp7yyxs1h unique (UUID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION add constraint UK_jwut0kj9vxxh95dnpqmy214yh unique (ANNOTATIONS_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT add constraint UK_fuwk11rqcwpcofhfe491a8hqu unique (CREDITS_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION add constraint UK_qk700525rhot8xjgiqfdxo428 unique (EXTENSIONS_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK add constraint UK_10lsmwriuryd1go9r024628bp unique (LINKS_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER add constraint UK_kwy5o93oabwtp3ljdpopkr6lb unique (IDENTIFIERS_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING add constraint UK_fg4antv7csnl898t0hshqwm2 unique (DEFINITION_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER add constraint UK_4e18eoogff2fh09ocluhwlc75 unique (MARKERS_ID); alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE add constraint UK_eugvoksqnvktygwbi34crvxhk unique (SOURCES_ID); alter table PUBLIC.STATEDATA add constraint UK_qnw4vi9b7bvq81r4tb9eja1cn unique (UUID); alter table PUBLIC.STATEDATA_LANGUAGESTRING add constraint UK_9ctih4esnw42a9e7q77t425um unique (MODIFYINGTEXT_ID); alter table PUBLIC.STATISTICALMEASUREMENTVALUE add constraint UK_q39pvb872whdirbaqmwerxify unique (UUID); create index PUBLIC.taxonBaseTitleCacheIndex on PUBLIC.TAXONBASE (TITLECACHE); alter table PUBLIC.TAXONBASE add constraint UK_sb7p9cbtabtyvuprexl4ic1ae unique (UUID); alter table PUBLIC.TAXONBASE_ANNOTATION add constraint UK_7l4b2min46q8f9s6lj5046jje unique (ANNOTATIONS_ID); alter table PUBLIC.TAXONBASE_CREDIT add constraint UK_iehcdmgb16v4hv2akbmx196bo unique (CREDITS_ID); alter table PUBLIC.TAXONBASE_EXTENSION add constraint UK_i5rufqct42ietqmx5oep221bi unique (EXTENSIONS_ID); alter table PUBLIC.TAXONBASE_EXTERNALLINK add constraint UK_mwvx7jk8sb04ot7n9tx2crux1 unique (LINKS_ID); alter table PUBLIC.TAXONBASE_IDENTIFIER add constraint UK_2aq3vs8rtguh779c0m3rgecea unique (IDENTIFIERS_ID); alter table PUBLIC.TAXONBASE_MARKER add constraint UK_f36k3he99htk5n7d36dh8mfuq unique (MARKERS_ID); alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE add constraint UK_qrcoswdw81wt0gr2mio4l6idl unique (SOURCES_ID); alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING add constraint UK_s3qxptnq5d45t9l1w59gmcu8s unique (DESCRIPTION_ID); create index PUBLIC.taxonNameBaseTitleCacheIndex on PUBLIC.TAXONNAME (TITLECACHE); create index PUBLIC.taxonNameBaseNameCacheIndex on PUBLIC.TAXONNAME (NAMECACHE); alter table PUBLIC.TAXONNAME add constraint UK_4l1e83ge70egn2r8yjq74gea6 unique (UUID); alter table PUBLIC.TAXONNAME_ANNOTATION add constraint UK_5gfqtjf214yjy0mymmws0o1h7 unique (ANNOTATIONS_ID); alter table PUBLIC.TAXONNAME_CREDIT add constraint UK_t3ems383sc090xgf3huro3yg7 unique (CREDITS_ID); alter table PUBLIC.TAXONNAME_EXTENSION add constraint UK_navjxgsmcc9a91ieys39bpqwm unique (EXTENSIONS_ID); alter table PUBLIC.TAXONNAME_EXTERNALLINK add constraint UK_at4fx3ogkjoo0o78a9h8s87qe unique (LINKS_ID); alter table PUBLIC.TAXONNAME_IDENTIFIER add constraint UK_g2jbvancfpnvgtrbgipl0s5xq unique (IDENTIFIERS_ID); alter table PUBLIC.TAXONNAME_MARKER add constraint UK_lnf8165xrf7v05e6jvtx8aiy1 unique (MARKERS_ID); alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE add constraint UK_aa3vu8j4kf8wjraw5y8s06vd5 unique (SOURCES_ID); create index PUBLIC.taxonNodeTreeIndex on PUBLIC.TAXONNODE (TREEINDEX); alter table PUBLIC.TAXONNODE add constraint UK_mlle48ucll3xxvnsfkhrccdld unique (UUID); alter table PUBLIC.TAXONNODE_ANNOTATION add constraint UK_t5d4bswjyneyw5heavqmwhdkl unique (ANNOTATIONS_ID); alter table PUBLIC.TAXONNODE_MARKER add constraint UK_j4bhc8mkfqhn2n0nsnm4f6efy unique (MARKERS_ID); alter table PUBLIC.TAXONNODE_STATUSNOTE add constraint UK_jfouc5s3975d5dyc1uwkdwdgw unique (STATUSNOTE_ID); alter table PUBLIC.TAXONNODEAGENTRELATION add constraint UK_sf7xk84whxbdu1sycpmcbm0x unique (UUID); alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION add constraint UK_jh8v3vp9cr8roqq7a4h5db3va unique (ANNOTATIONS_ID); alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER add constraint UK_crputx6a8memm8w88gesg168i unique (MARKERS_ID); alter table PUBLIC.TAXONOMICOPERATION add constraint UK_9vpe7l9q6vftay8t5xuq7a6ya unique (UUID); alter table PUBLIC.TAXONRELATIONSHIP add constraint UK_s6oxy40kxrigdao7pn2w73fue unique (UUID); alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION add constraint UK_ls1cxpc4bte4cowpacf6o7b43 unique (ANNOTATIONS_ID); alter table PUBLIC.TAXONRELATIONSHIP_MARKER add constraint UK_d95igpufr177599tohg130iye unique (MARKERS_ID); alter table PUBLIC.TERMCOLLECTION add constraint UK_jl6hv9p9d0csr5ijn2962ktml unique (UUID); alter table PUBLIC.TERMCOLLECTION_ANNOTATION add constraint UK_sw5ehtc5opkf40s6d7l2gum7t unique (ANNOTATIONS_ID); alter table PUBLIC.TERMCOLLECTION_CREDIT add constraint UK_4jhf3nd3vptdrsf1f71s6as27 unique (CREDITS_ID); alter table PUBLIC.TERMCOLLECTION_EXTENSION add constraint UK_b925e1is6ajb3jn2hr0fxo5jm unique (EXTENSIONS_ID); alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK add constraint UK_sveiqla6bbvc3njg68b8igh15 unique (LINKS_ID); alter table PUBLIC.TERMCOLLECTION_IDENTIFIER add constraint UK_oocbjwc0oetiw3g9v9ulkde3q unique (IDENTIFIERS_ID); alter table PUBLIC.TERMCOLLECTION_MARKER add constraint UK_w5qwecy3q3kwiufwgskc8qng unique (MARKERS_ID); alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE add constraint UK_6y05x1g9o0n7cc4net3w2np7u unique (SOURCES_ID); alter table PUBLIC.TERMCOLLECTION_REPRESENTATION add constraint UK_pch9ie6gf2o7i2fljsoc289qi unique (REPRESENTATIONS_ID); alter table PUBLIC.TERMNODE_INAPPLICABLEIF add constraint UK_582bjfhlg9nmuklxbr8wnvn7q unique (INAPPLICABLEIF_ID); alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF add constraint UK_cbo8s0bkxy2ptaot85kqwb23m unique (ONLYAPPLICABLEIF_ID); create index PUBLIC.termNodeTreeIndex on PUBLIC.TERMRELATION (TREEINDEX); alter table PUBLIC.TERMRELATION add constraint UK_j14j67r7qxdo868dyvsehhoe4 unique (UUID); alter table PUBLIC.TYPEDESIGNATIONBASE add constraint UK_6o6iea656lcqgr3jdsjffq824 unique (UUID); alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION add constraint UK_9ftdxvimlgemx14yg80r37gcq unique (ANNOTATIONS_ID); alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING add constraint UK_jplwby9906fs8gp24kjh6qyc4 unique (TEXT_ID); alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER add constraint UK_k0evxiokuaj0w1adi5r4agobo unique (MARKERS_ID); alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE add constraint UK_en07pnjivtsx8ou4fj2qfyfxv unique (SOURCES_ID); alter table PUBLIC.USERACCOUNT add constraint UK_fpfcytsdxnlpf0a7d37ljv5vj unique (UUID); alter table PUBLIC.USERACCOUNT add constraint UK_1nnsbewxnofohthirkbtgntnl unique (USERNAME); alter table PUBLIC.ADDRESS add constraint FK4ucgu2k1x96axqym63s1bjklj foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ADDRESS add constraint FKnld5itwlxlr6n6rn4m6uo5702 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ADDRESS add constraint FK5vrq4xoocin0tfnn2k0o7fgu9 foreign key (COUNTRY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.ADDRESS add constraint FK4ynij9obfnle8n53megsp2s63 foreign key (LOCATION_REFERENCESYSTEM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.ADDRESS_AUD add constraint FK65kadmtueylsama4ktibsjt4y foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE add constraint FK2wqyuafrx0ro0hfyjus1g9j3e foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.AGENTBASE add constraint FK2dk90cjhq1q169kc7x2podtls foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.AGENTBASE add constraint FKjvl6wijugr6w0mmw3l026n8i2 foreign key (ISPARTOF_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_ADDRESS add constraint FKcntyphn1hjdlm76nnrwkkyccq foreign key (CONTACT_ADDRESSES_ID) references PUBLIC.ADDRESS; alter table PUBLIC.AGENTBASE_ADDRESS add constraint FKmxdedf5wdw16eiascup6dfw67 foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_ADDRESS_AUD add constraint FKg2o3b80cmdhx50nu234b3jp5n foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_AGENTBASE add constraint FKd2e8c7dryqv5va74t23qs31hy foreign key (TEAMMEMBERS_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_AGENTBASE add constraint FKmvi8barhxvk72b04pkayyblrt foreign key (TEAM_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_AGENTBASE_AUD add constraint FK51egqestirnkim270xisp5grm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_ANNOTATION add constraint FKcmc6ttg9588euaxt5yf893gdg foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.AGENTBASE_ANNOTATION add constraint FKoyl6wb0lbo2c7lyeywgxwj3bb foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_ANNOTATION_AUD add constraint FKqin12utbh2o7i0acp5huj9rr foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_AUD add constraint FKgym7blcrrp35xt8k8qv38yfaj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES add constraint FK9dh06kdcj7eled8svb3wb5n1l foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES_AUD add constraint FKb6duaqf53qdj42ylb7gjmh368 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS add constraint FKlhdtkf6picqn8jj287yn1byr4 foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS_AUD add constraint FK34nu6a5fxdq0j37ai3k2ta2kt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS add constraint FKkafujnx69xdskrhrdxy6r76gr foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS_AUD add constraint FKk88m67ah84utcl6l16ty7axpk foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_CONTACT_URLS add constraint FKfcu7wbui8v00fr88g59boe9o foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_CONTACT_URLS_AUD add constraint FK2js3r2a2k96bd0pmas609tn1p foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_CREDIT add constraint FK4jqjvouwnpubyyg5986gmtier foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.AGENTBASE_CREDIT add constraint FKe3c1smld4f75h801gpf37px61 foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_CREDIT_AUD add constraint FK1m26u4jlwklbadwc72i5ooasj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_DEFINEDTERMBASE add constraint FK3xsxg9u6vdogocdt9lyce9oib foreign key (TYPES_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.AGENTBASE_DEFINEDTERMBASE add constraint FKgi2m4vopmip0cwkn9664vfseb foreign key (INSTITUTION_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_DEFINEDTERMBASE_AUD add constraint FKrx5bgsbsgkeknolsp0rrvk6on foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_EXTENSION add constraint FKqplrrcfus7mccy5ns4jc91aru foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.AGENTBASE_EXTENSION add constraint FKontmchwnmmisbs0b5k292mr86 foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_EXTENSION_AUD add constraint FKnj6at41pqo6rg5ygnvjqc8rn5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_EXTERNALLINK add constraint FKuxv4hhugvfe6mcsfunb5650i foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.AGENTBASE_EXTERNALLINK add constraint FKfxhopx04ndnytutki834yuwfe foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_EXTERNALLINK_AUD add constraint FK34q7mjokjqoxsml11wlh0xplh foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_IDENTIFIER add constraint FKqxkj1a94db5mia7yys54reold foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.AGENTBASE_IDENTIFIER add constraint FKhl4qwchibscv1g8dylrqd1w4 foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_IDENTIFIER_AUD add constraint FKi0pufao4s2f8ihdmmn6fyyy0q foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_MARKER add constraint FK3dt51ouyb34v9chrsyn59e9ei foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.AGENTBASE_MARKER add constraint FK8pnkerbko59y3rpb89yiqj95l foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_MARKER_AUD add constraint FKss43tmhb68lxclf5kei792e9s foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_MEDIA add constraint FK222xuab15mhtj8yipui46t07o foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.AGENTBASE_MEDIA add constraint FKnioh9oqclhvmrrcr7fg9mms9x foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_MEDIA_AUD add constraint FKolslg458ivq55og3m5luc36j6 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE add constraint FKh2kpg4c2wn20f49iwfrhxg2ml foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE add constraint FKsuxbcb55jrldg0nbnl0t4r82w foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE_AUD add constraint FK41x4x6j13w5khoshqx4b1ah3n foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AGENTBASE_RIGHTSINFO add constraint FKie0if1mwaa72h1w6ui40w8t36 foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.AGENTBASE_RIGHTSINFO add constraint FK6743kq4ef45qu746lbolkmyas foreign key (AGENTBASE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AGENTBASE_RIGHTSINFO_AUD add constraint FK9isndson1t8p0v7y2qmeff0s4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AMPLIFICATION add constraint FK1xojysrvwwfnebyex3e31w853 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.AMPLIFICATION add constraint FKcae8io9d4s2myw32sgfv94hyf foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.AMPLIFICATION add constraint FKngpl7af5f9xwjcf37uph7evhu foreign key (ACTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AMPLIFICATION add constraint FKqsxpw3iaiq0t90w20u0rcj3bf foreign key (DNAMARKER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.AMPLIFICATION add constraint FKoi0u606eqgyxlap5wks2vafu3 foreign key (FORWARDPRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.AMPLIFICATION add constraint FK6i5gmvv7afcwlvktim38mru0d foreign key (INSTITUTION_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.AMPLIFICATION add constraint FKbyugjve8vxmkrj8fo4cpnqjxj foreign key (PURIFICATION_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.AMPLIFICATION add constraint FKik8lk5fhby7chv5gl5bvnjvbu foreign key (REVERSEPRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.AMPLIFICATION_ANNOTATION add constraint FKlee27egderups2a2yl54nexs7 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.AMPLIFICATION_ANNOTATION add constraint FKgdih74ol7iylvsxyvth9qrn1q foreign key (AMPLIFICATION_ID) references PUBLIC.AMPLIFICATION; alter table PUBLIC.AMPLIFICATION_ANNOTATION_AUD add constraint FK88obviycurtpk53imaxsnb9mj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AMPLIFICATION_AUD add constraint FK8y28ce3b2buhaym766upy07av foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AMPLIFICATION_MARKER add constraint FKo6k308tqbxuvfqvgdduo1y77b foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.AMPLIFICATION_MARKER add constraint FK8nhayjmq76u85l8n22vsyp5fh foreign key (AMPLIFICATION_ID) references PUBLIC.AMPLIFICATION; alter table PUBLIC.AMPLIFICATION_MARKER_AUD add constraint FK9rqvwfbub3tm9wblf6tek39qp foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AMPLIFICATIONRESULT add constraint FK3b3d3s3tn381k1vninqdxhheu foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.AMPLIFICATIONRESULT add constraint FKo3b1j8e8futl2t5soe2ellcm1 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.AMPLIFICATIONRESULT add constraint FK6n6jbo188pd398ilhn3v9kykb foreign key (AMPLIFICATION_ID) references PUBLIC.AMPLIFICATION; alter table PUBLIC.AMPLIFICATIONRESULT add constraint FK90hpg93frjq5hcafy8rd9yte4 foreign key (CLONING_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.AMPLIFICATIONRESULT add constraint FK9wk7u0bkjbgubhpysj47cqlci foreign key (DNASAMPLE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.AMPLIFICATIONRESULT add constraint FK5qmolsiw4ngx75bypxdoo7agy foreign key (GELPHOTO_ID) references PUBLIC.MEDIA; alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION add constraint FK12e1stp1n3hvgdtpaviyyw49w foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION add constraint FKae2qa8p6p11ewqtvnm7fwh9t9 foreign key (AMPLIFICATIONRESULT_ID) references PUBLIC.AMPLIFICATIONRESULT; alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION_AUD add constraint FKnqycnsfacq99qo4rxs3jgs7tc foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AMPLIFICATIONRESULT_AUD add constraint FKgl3drut58mf5ioxm5x6h50b5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AMPLIFICATIONRESULT_MARKER add constraint FKovlgwjrb3bh1xo987f7q3jos0 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.AMPLIFICATIONRESULT_MARKER add constraint FKevfdo56aoakkul7r6mrqpg4u7 foreign key (AMPLIFICATIONRESULT_ID) references PUBLIC.AMPLIFICATIONRESULT; alter table PUBLIC.AMPLIFICATIONRESULT_MARKER_AUD add constraint FKebym14g0cbujys5kyovs4fvd2 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ANNOTATION add constraint FKewex7292t9d0usppo9nx6k1d7 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ANNOTATION add constraint FKfuglud1lpnbhtm42q5aao09ct foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ANNOTATION add constraint FK8v8qer98budr20lld7le6u5ye foreign key (LANGUAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.ANNOTATION add constraint FKl4hcvr3bn48w9mnqlo1yqhhbi foreign key (ANNOTATIONTYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.ANNOTATION add constraint FKreyb0muyukftpon2o37p3ub48 foreign key (COMMENTATOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.ANNOTATION_ANNOTATION add constraint FKmmm2stvvgqwuytfrrf5jyj3td foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.ANNOTATION_ANNOTATION add constraint FK75ew0i9xcjt1uc5pw7gq6hipa foreign key (ANNOTATION_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.ANNOTATION_ANNOTATION_AUD add constraint FKg11kfnkhiednxngs811wtllnn foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ANNOTATION_AUD add constraint FK5389365adrqa3haak3mggfhcu foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ANNOTATION_MARKER add constraint FKgvss9aa3158kjrg2kn160sjdf foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.ANNOTATION_MARKER add constraint FKq6nns47wvop7chd6uufmkl6w9 foreign key (ANNOTATION_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.ANNOTATION_MARKER_AUD add constraint FK678dbuu0lgcvu88xpllq1nug foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.AUTHORITY add constraint FK3057y4veq7v9ujmotr0fhtwmj foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CDMLINK add constraint FK2yp6walj1xmfrq8d4t1io1dow foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CDMLINK add constraint FKp1ol20hdsrqkkrvrajpt9vdqf foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CDMLINK add constraint FKkbucit7cvksfgwbggw1x3981c foreign key (TAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.CDMLINK add constraint FKd207pj50xmykcsi2w4ef3bofw foreign key (AGENT_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.CDMLINK add constraint FKirtrn7cxv287a4fetv98medff foreign key (ANNOTATION_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.CDMLINK add constraint FK2qqqvmdr2r8n2o6m0kd06wp6j foreign key (KEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.CDMLINK add constraint FKguxg4v53b6ep1frao8yvw5it4 foreign key (LANGUAGESTRING_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.CDMLINK add constraint FKkfpd3x5kyxrj75jj85gbr6rss foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.CDMLINK add constraint FKqcjl52fxkqy6583moai8i6u42 foreign key (OCCURRENCE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.CDMLINK add constraint FKpsulp6rvar43f25ta07qm9cch foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.CDMLINK add constraint FK3iwuprr3aqi86s660lf8vai1v foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.CDMLINK add constraint FKdbjn49d5nupj3efo3e0q89uji foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.CDMLINK add constraint FKngbopmjq8vx38ii99ghfw7ekm foreign key (DESCRIPTION_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.CDMLINK_AUD add constraint FK2c5m4aykhi6hj6udhihurfe0e foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CDMMETADATA add constraint FK3atmavb2wt4os2fnegbwvgfyq foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CLASSIFICATION add constraint FK9f8rfi8qils6hqua3y6m9883l foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CLASSIFICATION add constraint FKnh8m8dgd468dyrwed05mdj12s foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CLASSIFICATION add constraint FKre50258tldwfs0mgtdd0x41iu foreign key (NAME_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.CLASSIFICATION add constraint FKm669u8ptjck3dl7xc55dc3rca foreign key (ROOTNODE_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.CLASSIFICATION add constraint FKm9wq7hpdgvt1xpqna7ho1hsv1 foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.CLASSIFICATION_ANNOTATION add constraint FKkkx63kq2tmusrgh0dwj1yub2s foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.CLASSIFICATION_ANNOTATION add constraint FKqldoiq8d02nf37knijsvofypu foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_ANNOTATION_AUD add constraint FKfahyc4nx8mf72pw48o6ddfcef foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_AUD add constraint FKrb02o4ahqu6d5ej90gq94l3oy foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_CREDIT add constraint FKgti801rdpco3otj4uherswy01 foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.CLASSIFICATION_CREDIT add constraint FKiqgku2djno6q007iws2aojb0b foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_CREDIT_AUD add constraint FKjk5ian5883j2q6miyr80r4xyg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_DESCRIPTION add constraint FKqd3wcov08none01qmt95uo6j6 foreign key (DESCRIPTION_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.CLASSIFICATION_DESCRIPTION add constraint FK2rlp2ut05bk0m52vt9m5vjkwa foreign key (DESCRIPTION_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.CLASSIFICATION_DESCRIPTION add constraint FKievv6lpbbe1baasr1opv2eoi3 foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_DESCRIPTION_AUD add constraint FKnrnp8ov7fy8wi27fcp37j6whv foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_EXTENSION add constraint FKhalygbjfuwa98ke5r7c51sqx7 foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.CLASSIFICATION_EXTENSION add constraint FKadgbwxt0o22sbcf0bbaa71rio foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_EXTENSION_AUD add constraint FKdgr7w9gdnnsfpmp4ai2onba7h foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_EXTERNALLINK add constraint FKpjfx3r688od51i949uu8xrfyx foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.CLASSIFICATION_EXTERNALLINK add constraint FK8m123d5coqp3nlip05b21fdc5 foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_EXTERNALLINK_AUD add constraint FKl8g143jqbl82fbqx2wpf3e65x foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_GEOSCOPE add constraint FKqsqhnw148jg963e9nd0kte667 foreign key (GEOSCOPES_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.CLASSIFICATION_GEOSCOPE add constraint FK842o0rtid7mx5864hwotpwx7a foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_GEOSCOPE_AUD add constraint FKirn88iems71co6fdidq0puob5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_IDENTIFIER add constraint FKsbwcq73m161m1v9agued800mv foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.CLASSIFICATION_IDENTIFIER add constraint FKe60yves5lfhxw5o9f2gp467vo foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_IDENTIFIER_AUD add constraint FKj464e6ji7uon714l6ybkcnyyw foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_MARKER add constraint FK3en6pf3bodbmpcxn4arvxcufv foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.CLASSIFICATION_MARKER add constraint FK9639swl12cbttnmandeim0uhd foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_MARKER_AUD add constraint FKsvqwt8nf9rd74tsn3ygd2ro2h foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE add constraint FK5ahc7mh5ic8aumnta0e931g1p foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE add constraint FKktstbmbgi695favr1onon81mf foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE_AUD add constraint FKro4jb1r6s43o5g85t7gsq30de foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CLASSIFICATION_RIGHTSINFO add constraint FKm3p68dfqlfv5vqb588ahs3m8j foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.CLASSIFICATION_RIGHTSINFO add constraint FKg7yol7y6vd73g7lg632hryo6h foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.CLASSIFICATION_RIGHTSINFO_AUD add constraint FKolqc9rttitlati1mugtugv5um foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION add constraint FKpm7kt6wv5q8t2g678h8g3g8nc foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.COLLECTION add constraint FKem7fi1eichawkp44o43kjuwts foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.COLLECTION add constraint FKh7y8j8mvloiec86ntnmj86b1q foreign key (INSTITUTE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.COLLECTION add constraint FK7ggpqep2xubk0lg0vgcq1dhre foreign key (SUPERCOLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_ANNOTATION add constraint FKoex6uik6t09hncshwfpogjbq4 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.COLLECTION_ANNOTATION add constraint FKjlskcryouw4qynbdu1gc5fm4u foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_ANNOTATION_AUD add constraint FK1k6wux5dbpyeta2uon0n95ba8 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_AUD add constraint FKt8mrocxu5sj3p7x98oq0i40l foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_CREDIT add constraint FK3t6gm7142whg0rbsavkm98mo3 foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.COLLECTION_CREDIT add constraint FKqwyk5j9xuwqnpwge1q68c5x0s foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_CREDIT_AUD add constraint FKeuowuy1u43ukowji9q8hdwrme foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_EXTENSION add constraint FKjidd98y7gkk4cplpl06o3rvc4 foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.COLLECTION_EXTENSION add constraint FKsfa6gcuj9ekhbp6eh10jcq4rh foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_EXTENSION_AUD add constraint FK96v1yb5dy4lkbxor2oag9373s foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_EXTERNALLINK add constraint FKgn3etmj0as8ulbup2y76rih7x foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.COLLECTION_EXTERNALLINK add constraint FK4oxku534783br162jcke3qvi6 foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_EXTERNALLINK_AUD add constraint FKb2aha3nojyn9e6rrygqoj976c foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_IDENTIFIER add constraint FKqgmgmseexfq5wabvg5ts5au6g foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.COLLECTION_IDENTIFIER add constraint FK1mhgu979s43xrxi7hhwnxe6f3 foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_IDENTIFIER_AUD add constraint FK10ojdgspogrsb8u5aix2ate7j foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_MARKER add constraint FKgxb5k6wi0xdmomyi5blco5wug foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.COLLECTION_MARKER add constraint FK5i1kccnp9u11jf2sn5sxelcw9 foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_MARKER_AUD add constraint FK4uibiju6y533vqm0aooko9d9k foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_MEDIA add constraint FK2yl77qc56ilpchgm98rv5yo3x foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.COLLECTION_MEDIA add constraint FKtfbpb6gg5uoqfyam7lor6hm71 foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_MEDIA_AUD add constraint FKepp7rch19m8611ruc3tp8wqel foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE add constraint FK52l838ps7etrq93bpdq2qp09c foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE add constraint FK8atn8wr15rpbv1wij11kmd1ph foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE_AUD add constraint FKqo1lkcd1qlvhdg4v5dih03afb foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.COLLECTION_RIGHTSINFO add constraint FK96eonimkwfhxa2xkk9g5uv0ju foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.COLLECTION_RIGHTSINFO add constraint FKs8bmdt0yyiejsfcn11o3ethb0 foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.COLLECTION_RIGHTSINFO_AUD add constraint FKm4gdb6wmb9mvix6vy0vk2ldjm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CREDIT add constraint FKb35m2jbj12rsh77y186eart5l foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CREDIT add constraint FKifwh2v5u19b1qvjklnhqr9wgn foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.CREDIT add constraint FK7f5c2t7s3m7t2a7mrgj6v354o foreign key (LANGUAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.CREDIT add constraint FKrih53sycdajs7vgjnd78dwn88 foreign key (AGENT_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.CREDIT_ANNOTATION add constraint FKtgpjoy6n3iyshcr0g2hkdnovv foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.CREDIT_ANNOTATION add constraint FKrsfa4v6ut11ehslrtwb588gxc foreign key (CREDIT_ID) references PUBLIC.CREDIT; alter table PUBLIC.CREDIT_ANNOTATION_AUD add constraint FK5275eh6yh4g03agchxa33eecm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CREDIT_AUD add constraint FKpksc0dgkpl27cfvfri3dg9v4i foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.CREDIT_MARKER add constraint FKmnyvq5xjgw7r7ic81xmreu0bo foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.CREDIT_MARKER add constraint FK20th9eb8uggrlc8p7okebnh5 foreign key (CREDIT_ID) references PUBLIC.CREDIT; alter table PUBLIC.CREDIT_MARKER_AUD add constraint FK3wb7ws7jeuwvb0t2g9nti85sn foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE add constraint FKia6701jqggad9vb2vg3kwab07 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DEFINEDTERMBASE add constraint FK6v21kadexfski1wykv8av0kel foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DEFINEDTERMBASE add constraint FKf9dga0a1shqbl4qxn7n3y6gti foreign key (KINDOF_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE add constraint FK8r6w2siuj6exk4klp6put3dxq foreign key (PARTOF_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE add constraint FK7y2c8u20csc7s39a9ww34u8i3 foreign key (VOCABULARY_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.DEFINEDTERMBASE add constraint FKcrwcypdmmdi7wmdl1dkh9fsi5 foreign key (PROPERTY_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.DEFINEDTERMBASE add constraint FKiyoarp5tjpct53oq6xoxi58j4 foreign key (PROPERTYMODIFIER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE add constraint FKm7uh4exmgcxse6goaa9bah6yw foreign key (RATIOTOSTRUCTURE_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.DEFINEDTERMBASE add constraint FKrbpx5955tsdt6w1iu4tv10si4 foreign key (STRUCTURE_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.DEFINEDTERMBASE add constraint FKnsmveh7a3vfvlwp132ebvghxs foreign key (STRUCTUREMODIFIER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE add constraint FKojs9tjome6abglngh4rogaexy foreign key (LEVEL_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE add constraint FK5br6r8er70nk7bak12evsdpsd foreign key (POINTAPPROXIMATION_REFERENCESYSTEM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE add constraint FKq5i0098o549pmu97b6dgdrf0o foreign key (SHAPE_ID) references PUBLIC.MEDIA; alter table PUBLIC.DEFINEDTERMBASE add constraint FK24eo9scr2u5njg4nhfh9afgtt foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION add constraint FKbig4dl2sbcwsnb946a19hfl14 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION add constraint FKpi9dfqtvl9wgncukhix5aeg4i foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION_AUD add constraint FKbejtrjqyyo1fjs1wle47s0x2u foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_AUD add constraint FK1f2wh9wgcdeegy9xbi1qvkiuj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_CONTINENT add constraint FK7j01xlfaqne2427u8pf5rd0ov foreign key (CONTINENTS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_CONTINENT add constraint FKr045abi94xve0vfxe4m4wlogc foreign key (COUNTRY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_CONTINENT_AUD add constraint FKjrmt119e274aedq45087axn5g foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_COUNTRY add constraint FKg3agyu98ymgecgebbbu6ygwny foreign key (COUNTRIES_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_COUNTRY add constraint FKbu5fxflefymqtwf3xbw44bj3l foreign key (NAMEDAREA_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_COUNTRY_AUD add constraint FKjybfqg1y3ewm3vh7nmlhu33ly foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_CREDIT add constraint FKdqwfsp7cqhxesri75kby3rq65 foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.DEFINEDTERMBASE_CREDIT add constraint FK2y2wa79vcduina8qsl0wlhgfq foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_CREDIT_AUD add constraint FK85t6yn3ca3fvaiekl726bxauo foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_EXTENSION add constraint FKfu9xgc54yij1gc5lpm3gkmo1p foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.DEFINEDTERMBASE_EXTENSION add constraint FKeotxgo4utv8v3fyqgrstgtso6 foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_EXTENSION_AUD add constraint FKiy1mmrce81aio9l18o1en2an0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK add constraint FKb01g6wm59tp1w1fq8ffjvjp8w foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK add constraint FKm550s09ulpb6ewouh85n3lugp foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK_AUD add constraint FKnup3nbtbmcpi7c5x5brmya1nj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER add constraint FK523gsg7u02lknafy7m0uivuxp foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER add constraint FKkgo1qkqjvvyow8y0wyjifjt foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER_AUD add constraint FKmj786k4npyc71ha9152v5804k foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION add constraint FK7b00b11adfafft9rx7ud2l0ce foreign key (INVERSEREPRESENTATIONS_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION add constraint FKt1uswhlpdx6yu2bm03v63rhdu foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION_AUD add constraint FK82787rbf6p6xbiqxhxcw0h546 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_MARKER add constraint FKq0b0f7ibdjh686pjtq8ivmxxq foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.DEFINEDTERMBASE_MARKER add constraint FKdc2qe862qlr5rae6tbrvp00rk foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_MARKER_AUD add constraint FK4sdldeq2ftvx0oct20e9lhbwa foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT add constraint FK2c2klcuky3jkgkoutjd9ckdvf foreign key (RECOMMENDEDMEASUREMENTUNITS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT add constraint FK92hn832j3iwqh9lr5hj2mgwre foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT_AUD add constraint FKbb4jps4mequfgsc2dvvo4xht0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_MEDIA add constraint FKhqgd3bq1geb6bv6w67ajkidxe foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.DEFINEDTERMBASE_MEDIA add constraint FKdkp3uk91pvotko6cbp4qocatg foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_MEDIA_AUD add constraint FKhrg1whaaw2pci2suny814iddu foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE add constraint FKh6tund7jtkmmrtpvf1tgvy1dk foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE add constraint FKp570yj1e4sef5nryt43rw8ywj foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE_AUD add constraint FKgti0wnlglx6lt6msp3d8tey08 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION add constraint FKhmi9vmqbcs1op8odb8rqjx01p foreign key (RECOMMENDEDMODIFIERENUMERATION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION add constraint FK884m1dolwdy7nkk407x25dr0t foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION_AUD add constraint FK2vq35l99lowmomqtwap41qdoy foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION add constraint FKcyop6p6f7iga1qor1m61l8ijo foreign key (REPRESENTATIONS_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION add constraint FK71e29efm9fbxf3urar13g8g2b foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION_AUD add constraint FKbm4gxyalnpk81k40ur1lt7hcy foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO add constraint FKog3u5a703y8j86s35oovhlnxy foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO add constraint FKjld1fmkx3d5qtt7m6agvubsyo foreign key (DEFINEDTERMBASE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO_AUD add constraint FKrttp27bsbsawtjipyw8mef9u0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE add constraint FKfcl99trilnlmfxfrnsga0b06l foreign key (RECOMMENDEDSTATISTICALMEASURES_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE add constraint FKe1nbvo0sfymdk0hpldl8e6iiy foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE_AUD add constraint FKhfv3y2r69kxb844gcjegt0d8q foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION add constraint FKo5rh3yfoqq2np1rdrmu5mv97k foreign key (SUPPORTEDCATEGORICALENUMERATIONS_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION add constraint FKry9mdq1812glecnuq28warxgl foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION_AUD add constraint FKl0o5skf3jlgx8fftsd5pt6vlv foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DERIVATIONEVENT add constraint FK150pptx4jsd9bu8ouuuvu86a1 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DERIVATIONEVENT add constraint FKkpyo2otsqbcxfh9qbefk084o1 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DERIVATIONEVENT add constraint FK627c58c1c3xe99eks3t9aev0p foreign key (ACTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.DERIVATIONEVENT add constraint FKdnosspecdqgpemwydov32wm2n foreign key (INSTITUTION_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.DERIVATIONEVENT add constraint FKac4bf9hrw5dk447jwje2977xw foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DERIVATIONEVENT_ANNOTATION add constraint FKp3drqnxabu6xntr0m17jxf4gs foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.DERIVATIONEVENT_ANNOTATION add constraint FKi2qv3fkrd0l60lb6q92hismg9 foreign key (DERIVATIONEVENT_ID) references PUBLIC.DERIVATIONEVENT; alter table PUBLIC.DERIVATIONEVENT_ANNOTATION_AUD add constraint FKa8k02vxgtsgrrmlc6fn4g6c foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DERIVATIONEVENT_AUD add constraint FKjyohtxu59eik46wciyd7ved7g foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DERIVATIONEVENT_MARKER add constraint FK2lbr0jees9ywd9twot80p2i79 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.DERIVATIONEVENT_MARKER add constraint FKsnnj2k5j1um6ksjgxovl3lodp foreign key (DERIVATIONEVENT_ID) references PUBLIC.DERIVATIONEVENT; alter table PUBLIC.DERIVATIONEVENT_MARKER_AUD add constraint FK4qw8lq8qavsrdkcb1n8nh9n80 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE add constraint FKhlcrsliovq7sv6ndy1c62e9q7 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DESCRIPTIONBASE add constraint FKiba3dxuvkrwo6mhfnhuuaxahe foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DESCRIPTIONBASE add constraint FKihxtdl9g2cenj6h14e73g73gw foreign key (SPECIMEN_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.DESCRIPTIONBASE add constraint FK9rsqhlw1f2y5gqdid26kcuq54 foreign key (TAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.DESCRIPTIONBASE add constraint FKodmif2wcreugjbtoelnefuqsg foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION add constraint FK2hq8x7s00f09ts0l8h12esyru foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION add constraint FKpsfei7nvifj1wa8yjwpjb3fbs foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION_AUD add constraint FKhnmy2i39kq0q5fspkqxxoa6h foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_AUD add constraint FKftrb783yy1gfea9afl64j43e1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_CREDIT add constraint FKpb38d6w15g6vbg20nuxvgr6n8 foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.DESCRIPTIONBASE_CREDIT add constraint FK4oo3skeapg6gnewey1habu3vd foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_CREDIT_AUD add constraint FKiog3ays51bljme9lgfvgs7e1r foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_EXTENSION add constraint FKl74wlw4jw50t1ebp3jltt2rm4 foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.DESCRIPTIONBASE_EXTENSION add constraint FK8f0msnkssnxigunkrsu0f35bs foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_EXTENSION_AUD add constraint FKlbom31r3gv4ua9oqbefmutt8p foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK add constraint FKl0aokhi29qak6r0gedml8qbcv foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK add constraint FKnwo4t444wkmk0q9e2uj332l3 foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK_AUD add constraint FK3qcv3u8as8oso2wpoet9qalm3 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_GEOSCOPE add constraint FK5q9vi3dylnaftm4j6fbm51ymu foreign key (GEOSCOPES_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONBASE_GEOSCOPE add constraint FKtqpi1nqoa47lq24k85rsnibia foreign key (TAXONDESCRIPTION_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_GEOSCOPE_AUD add constraint FK83t4gbrr6a2dcp67st6o7xg8n foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER add constraint FKj9obeu1oct74gmdl24akrpcks foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER add constraint FKqpew9cuc67ff668ooalllwqkq foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER_AUD add constraint FKmmcg4nlx908q75ss1v4a7r9om foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_MARKER add constraint FKj3jnv9oryk26yhy5vclxaj8cq foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.DESCRIPTIONBASE_MARKER add constraint FK3o4g1ylo09lvb2xqcvjhowp4d foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_MARKER_AUD add constraint FKpg1lwuobc2wwg5h5fnx5lu0mu foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE add constraint FKd8luepnowxhs0shpg9moxdya0 foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE add constraint FKmo6w18qnrbv284500qtu3w425 foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE_AUD add constraint FK6ry2qw6fxiw3s7qs9jqcc844o foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_REFERENCE add constraint FKj8kimc2enurhmapvoba9cripi foreign key (DESCRIPTIONSOURCES_ID) references PUBLIC.REFERENCE; alter table PUBLIC.DESCRIPTIONBASE_REFERENCE add constraint FKtdeh9edxi32erdo95lj60ru59 foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_REFERENCE_AUD add constraint FKewelqon8f0dmmhaviiaj2taf1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO add constraint FKjtoaoa161fn1dd3xc65spt818 foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO add constraint FK9a7op8toj9v8mmctoobj4ngxu foreign key (DESCRIPTIONBASE_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO_AUD add constraint FKnyq77rx62p6nj9l8ev31jwmiw foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONBASE_SCOPE add constraint FKmwt5omx10u17vx51xslmlnfxt foreign key (SCOPES_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONBASE_SCOPE add constraint FK4sxn9c4a2j390k0s87sf4qvfr foreign key (TAXONDESCRIPTION_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONBASE_SCOPE_AUD add constraint FKbljonyd7xc0gu1hdj9s1c7rui foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKdt6qema4kw77evcycdpv104tc foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FK2bcobf985boqdaw7lly16m4ha foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKk5xpm9hi1p0iy2bt084rhanbx foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKj3ugo3tgqksv4vdxd4f51fexi foreign key (INDESCRIPTION_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKcdbrhky1u6e2rhwx4fyo238aa foreign key (AREA_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FK368h6ff54fdmbhsupq3387kes foreign key (LANGUAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FK9v2dwteb8ekewnw87vd1qsl6m foreign key (STATUS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKjfj207t8maojtav25ng9hch2o foreign key (ASSOCIATEDSPECIMENOROBSERVATION_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKpovpvlocwary0iv860vklw4vl foreign key (UNIT_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FKc7jjqq8y0nrw3badbos5979m foreign key (TAXON2_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE add constraint FK6bq0w0dew85a5r42b79s1tv1c foreign key (FORMAT_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION add constraint FK9psim4603k1ivayh0jgb83gmb foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION add constraint FK936jx0egfkfush5svat4ek090 foreign key (DESCRIPTIONELEMENTBASE_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION_AUD add constraint FK1h7t28h114l48wt5ao1w2sft9 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE_AUD add constraint FKm7afy3ju3h3i29gm73fumo1kk foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING add constraint FKto6j701avulss35oagev12ho0 foreign key (MULTILANGUAGETEXT_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING add constraint FKn1abuyy8f76eyvfxcn0r8ihm foreign key (MULTILANGUAGETEXT_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING add constraint FKoj5lsw8p5af24148a8kggd8a0 foreign key (TEXTDATA_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING_AUD add constraint FK7abfw8y1kn52906r2a1x20lwe foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER add constraint FKmhocs6h2mq4tpmv4b8q0by70b foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER add constraint FK70hkoj7nqyc48boabnqwiyw0o foreign key (DESCRIPTIONELEMENTBASE_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER_AUD add constraint FK4f9v9kyqcih18qo4k1yr4tbpx foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA add constraint FKna29ch0vwfgdf32wdrb0s22jc foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA add constraint FKbxunoffki4lrhrg7qhtot9nbn foreign key (DESCRIPTIONELEMENTBASE_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA_AUD add constraint FK11hfjyole91eyahc2aijtw62x foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER add constraint FKpp5765u7qc87ylf1xrhsyc6ko foreign key (MODIFIERS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER add constraint FK2bysx26aymrn17jkq39nfpnlx foreign key (DESCRIPTIONELEMENTBASE_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER_AUD add constraint FKhkcuu3wq411tmesgk5m1edgfc foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT add constraint FK1pied6nd3asanfgaxxso3gamj foreign key (MODIFYINGTEXT_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT add constraint FK9ok6njdsstx43y9mhindjrxsp foreign key (MODIFYINGTEXT_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT add constraint FK9ubl0ym5poys5elyms6llhl5i foreign key (DESCRIPTIONELEMENTBASE_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT_AUD add constraint FKrc54nmhglcfrncik23cvtxvmu foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET add constraint FKhoyf1e3647kyx8xtl5gdfnlik foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DESCRIPTIVEDATASET add constraint FKeorgba7x96q2gdu17g7yyskqf foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DESCRIPTIVEDATASET add constraint FK1n15evpfy0etudw999epfmr1e foreign key (DESCRIPTIVESYSTEM_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.DESCRIPTIVEDATASET add constraint FK1cxrn8q2qeqraxdl4qayukhm4 foreign key (MAXRANK_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIVEDATASET add constraint FKcdtgaxpby3cxytft4cv0mgn5k foreign key (MINRANK_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION add constraint FKbi572r1vqv6txab79i3unhk3j foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION add constraint FK3q1kndwbwkqiu8ff4igg6muvj foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION_AUD add constraint FK8463fnhxcll58iga2bsvrgnvx foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_AUD add constraint FKicvalqujrv6qy15njdyogn0ar foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT add constraint FKrcddcndgckcfbvtr2isdabjtu foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT add constraint FKrban7aasstpeso7amtdvech60 foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT_AUD add constraint FKakarst7xh6fjo43d8w5du8cch foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE add constraint FK5sc1tjjo36gsrgj2j02gun8s5 foreign key (DESCRIPTIONS_ID) references PUBLIC.DESCRIPTIONBASE; alter table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE add constraint FKjv0du3vaqo3eh4cwfurbpl73x foreign key (DESCRIPTIVEDATASETS_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE_AUD add constraint FKevgp3e0ucjidvos4f9nb1a1x foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION add constraint FK1w3bcstlv2ymjo7vj5h5wbh8g foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION add constraint FKbd4gsgavb90trynuw2e59ah51 foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION_AUD add constraint FK1wf9y86gi4271vcpofqc5ehg0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK add constraint FKm8vwqvl1pa1l75w79929owud foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK add constraint FKejjxij5giwhbu4rgyshceq6vb foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK_AUD add constraint FKlor6a8njeuww117mdy0e9c6td foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER add constraint FKfdjw6q1dpo8577esadu5e6jws foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER add constraint FKhqvvq3xpa26vh6t03bf7r5rpo foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER_AUD add constraint FKlqvogueerwvrpxwigsi8n9tka foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_MARKER add constraint FKgb6jus8w318a2pdj26dxcy7kw foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.DESCRIPTIVEDATASET_MARKER add constraint FKai7h2m0sbn2rj5g7oaptf6nxw foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_MARKER_AUD add constraint FK8tf3btdqx9qj2seqpp56g2kll foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA add constraint FK23grh6slnhi6vr3618b8ec0gk foreign key (GEOFILTER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA add constraint FKkbh7vp3bf6davfxe8w05hurhv foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA_AUD add constraint FKmn7gy6l36wavb62ntoa6ujyq1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE add constraint FKg22ntow071etnnq4l54lf85im foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE add constraint FK5hh108378ncavh5c6egkhcf76 foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE_AUD add constraint FKd8jan8yrrok2ikdwpcnl9eq6 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION add constraint FKrifgts1vekp0pwcs3avs9riww foreign key (REPRESENTATIONS_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION add constraint FK53j4hmko7pd3o115u9d7u6ih2 foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION_AUD add constraint FKl5semmqtkokypeui8ipqlocg0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO add constraint FKny4yy0r8fmdf6xo1mn8pcto1k foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO add constraint FK1c0kes68ptbc5f8l0c3ciuacd foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO_AUD add constraint FKrw5a670v9aevtetus1lohv1f6 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE add constraint FK569aj5glxqa3af5egijs1kqm1 foreign key (TAXONSUBTREEFILTER_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE add constraint FKj56fftj1fq93f8rfk22lyk9ds foreign key (DESCRIPTIVEDATASET_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE_AUD add constraint FK6o76ykuvfrulxaexlsnwhyt8e foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DETERMINATIONEVENT add constraint FKibbnuj9wm975gjbecett5u0w5 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DETERMINATIONEVENT add constraint FKj55t3n8wp9knnbf0lnrfclt9s foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DETERMINATIONEVENT add constraint FKbi4mehmcwngivongg0dcsnvjt foreign key (ACTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.DETERMINATIONEVENT add constraint FKrlpm4902dy37n119uxxaf2quf foreign key (IDENTIFIEDUNIT_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.DETERMINATIONEVENT add constraint FKitd6gcmm52ajohmmvmw35dbu8 foreign key (MODIFIER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DETERMINATIONEVENT add constraint FKenshxs8ninuc8dfh5d6nhujv6 foreign key (TAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.DETERMINATIONEVENT add constraint FKbsaxivyjgjysu2wwxc91x1j9a foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION add constraint FKdvyjx6337fgsjdmm4ohppxxi7 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION add constraint FK2ovcul90jhs3j341nmobqy322 foreign key (DETERMINATIONEVENT_ID) references PUBLIC.DETERMINATIONEVENT; alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION_AUD add constraint FKdxyfuhsoc6og1bvw5x5swpia4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DETERMINATIONEVENT_AUD add constraint FKn79ouqj42aspffmb6pbnx3yb5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DETERMINATIONEVENT_MARKER add constraint FKfefka6dlvli3vrphji2q7d3mu foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.DETERMINATIONEVENT_MARKER add constraint FKdw940u2blohdu4smcw7w1k5ar foreign key (DETERMINATIONEVENT_ID) references PUBLIC.DETERMINATIONEVENT; alter table PUBLIC.DETERMINATIONEVENT_MARKER_AUD add constraint FKjc0fbbquilpjgqtarr2yu96pq foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DETERMINATIONEVENT_REFERENCE add constraint FKsbqbqe9uyqnc0t4flu4u8vllg foreign key (REFERENCES_ID) references PUBLIC.REFERENCE; alter table PUBLIC.DETERMINATIONEVENT_REFERENCE add constraint FKhc59i6aelfecdha7vi8dmnc61 foreign key (DETERMINATIONEVENT_ID) references PUBLIC.DETERMINATIONEVENT; alter table PUBLIC.DETERMINATIONEVENT_REFERENCE_AUD add constraint FKoewqlxdh92lnvbyyreucni7hb foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.DNAQUALITY add constraint FK4i6545hb0rjvhjyt6snhu2mx9 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DNAQUALITY add constraint FK8pau3uwu4m6q6k1hxnxwwxg6b foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.DNAQUALITY add constraint FKh581ii5wm5dni2vc8phtk9tof foreign key (CONCENTRATIONUNIT_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DNAQUALITY add constraint FKik7n7634hcxsfmixvv1cprnjq foreign key (QUALITYTERM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.DNAQUALITY add constraint FKs1eg5nytye6j282npysfj2k75 foreign key (TYPEDPURIFICATIONMETHOD_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.DNAQUALITY_AUD add constraint FKqnm1mqi1f5fxrlioshbknm817 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ENTITYCONSTRAINTVIOLATION add constraint FKiq0crouh0lv99904lgh0ld7uy foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ENTITYCONSTRAINTVIOLATION add constraint FKiek52en6964810296jdco16fs foreign key (ENTITYVALIDATION_ID) references PUBLIC.ENTITYVALIDATION; alter table PUBLIC.ENTITYVALIDATION add constraint FK87cggpktc02jdkspxmwy0c6ck foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.EXTENSION add constraint FKswfq7xqoasscht05mjqtyj12h foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.EXTENSION add constraint FKkl3k0he61c43rbhmie6e5v0us foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.EXTENSION add constraint FKrwkoecoc82eplwl8grymoy6fc foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.EXTENSION_AUD add constraint FK4ef02g1srt8le3362o7jebh5k foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.EXTERNALLINK add constraint FK4eavf8ubj982dnlef23co5b19 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.EXTERNALLINK add constraint FK2gqmalr5sfmljg4n6hc6xfqei foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.EXTERNALLINK_AUD add constraint FKepoij2l2ycc3skqs7srof20rm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING add constraint FKladw4pvi5wc0aj10fgkesl0jb foreign key (DESCRIPTION_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING add constraint FKfwcx2qf0i783vs45a7q1fj1sa foreign key (DESCRIPTION_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING add constraint FKg7i2v811p3gy5phhwqevmgrxs foreign key (EXTERNALLINK_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING_AUD add constraint FKtm24be2oh7ef6ki0jhhexk1et foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.FEATURESTATE add constraint FK3tuye2a99xs2f0sfu56t1ccmb foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.FEATURESTATE add constraint FK1gy6vjs0qshtoe351pp8m4qp0 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.FEATURESTATE add constraint FKocohl2xs70wwgc2ckbgmotlgy foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.FEATURESTATE add constraint FKhn26ipbrxr4akjdtj1h73noou foreign key (STATE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.FEATURESTATE_AUD add constraint FK8w1wtokki1fd6hxmiyr21kwf2 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.GATHERINGEVENT add constraint FKpqk710jw4n1scvht3hs0j6iyd foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.GATHERINGEVENT add constraint FK1ab0nj7raa0w59pcnh1mhukkb foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.GATHERINGEVENT add constraint FK7b0xtlq0h90tty31ngh0nlo3x foreign key (ACTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.GATHERINGEVENT add constraint FK1t5mmgb8rx968tqge2xx2h3i6 foreign key (COUNTRY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.GATHERINGEVENT add constraint FK2bps75ydr7odm0n4t2x5jt5ou foreign key (EXACTLOCATION_REFERENCESYSTEM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.GATHERINGEVENT add constraint FK4jv2wq70akxo4oyhs2smrb2we foreign key (LOCALITY_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.GATHERINGEVENT_ANNOTATION add constraint FK1qwvoiw4w6oejg46jx23j68pv foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.GATHERINGEVENT_ANNOTATION add constraint FK1a9h7tnbmccdim9bd6ahgww0l foreign key (GATHERINGEVENT_ID) references PUBLIC.GATHERINGEVENT; alter table PUBLIC.GATHERINGEVENT_ANNOTATION_AUD add constraint FKlsn04o8dufma2vdmbu2bmy6o foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.GATHERINGEVENT_AUD add constraint FKs24ovsa8pu53ih1egjexsdo1i foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE add constraint FK1t6qhq2s45mljsrg0ydg7gyn foreign key (COLLECTINGAREAS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE add constraint FKc3c9ab5xfmti6mkl76lmqguo5 foreign key (GATHERINGEVENT_ID) references PUBLIC.GATHERINGEVENT; alter table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE_AUD add constraint FK5106dfio7k7h4etoyvgr5odr8 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.GATHERINGEVENT_MARKER add constraint FKfqcw7mu6d0gv1jqas9kv05g2u foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.GATHERINGEVENT_MARKER add constraint FK9993x0mbmv0m9g5ksdnm8ad7m foreign key (GATHERINGEVENT_ID) references PUBLIC.GATHERINGEVENT; alter table PUBLIC.GATHERINGEVENT_MARKER_AUD add constraint FKtcvy3v8jc8qm7jvlmqve05cn0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.GRANTEDAUTHORITYIMPL add constraint FKs8x1ir1k8otwjeqye328fynp1 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.HOMOTYPICALGROUP add constraint FKr6en8v8n9edehgyanarldem2b foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.HOMOTYPICALGROUP add constraint FK19pgwtnnu30mbecah0j4pq6pp foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION add constraint FKo9rn7v0ug79mculk6qfxy2xh9 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION add constraint FK9ugcojc1d8dvh2aekobe10w9a foreign key (HOMOTYPICALGROUP_ID) references PUBLIC.HOMOTYPICALGROUP; alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION_AUD add constraint FKn9mfbrtm8t04717pso5r2g1cf foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.HOMOTYPICALGROUP_AUD add constraint FK3ovct4s2a7fxk9f5ga2u2yun6 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.HOMOTYPICALGROUP_MARKER add constraint FK2nl3mirb46yrtmv085peqnw7x foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.HOMOTYPICALGROUP_MARKER add constraint FK7ikm5qlr0ap11kko3p5jvcnrh foreign key (HOMOTYPICALGROUP_ID) references PUBLIC.HOMOTYPICALGROUP; alter table PUBLIC.HOMOTYPICALGROUP_MARKER_AUD add constraint FK27rgsh6ytacuvcmdbty35c85o foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.HYBRIDRELATIONSHIP add constraint FKlsojetf7oek5biilvtqex5uh foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.HYBRIDRELATIONSHIP add constraint FKsxt6hi7rojhjm67nyk7d1kc8n foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.HYBRIDRELATIONSHIP add constraint FKi1s7boglpstajpundeeev9y1a foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.HYBRIDRELATIONSHIP add constraint FKs2dny1wq2jq7h6i2xggqnv0ks foreign key (RELATEDFROM_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.HYBRIDRELATIONSHIP add constraint FK7ryy1wfocaeblaur5v88mh1ck foreign key (RELATEDTO_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.HYBRIDRELATIONSHIP add constraint FKgn0cyuopk4ykosj1w531k3d9p foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION add constraint FK4n98pc8jna3asa4x3cbhmj90d foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION add constraint FKki1o53i4j03j9kfw3cu0ge5lb foreign key (HYBRIDRELATIONSHIP_ID) references PUBLIC.HYBRIDRELATIONSHIP; alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION_AUD add constraint FKf99156t69kf99uwbfh0m8teur foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.HYBRIDRELATIONSHIP_AUD add constraint FK182um4k9q9ta3c6v2g39xoua9 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER add constraint FKbcw6cc5wd0hgn0681mfw5vm5y foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER add constraint FKssdx5t2r42ay6dhy0sw46h1h foreign key (HYBRIDRELATIONSHIP_ID) references PUBLIC.HYBRIDRELATIONSHIP; alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER_AUD add constraint FK6t416j0pmkke0xj0eoe4cmprm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.IDENTIFIER add constraint FK4sb4l1xtrjjnse3556jkivqlw foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.IDENTIFIER add constraint FKfji2f2t9guiyxbuw9t798hvqd foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.IDENTIFIER add constraint FKfq97obi6hcks0ad3ji7pyu5vu foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.IDENTIFIER_ANNOTATION add constraint FK278kbe8thngepeg9a3bjgp2x9 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.IDENTIFIER_ANNOTATION add constraint FKs5smk8huwgvbysbalh0l05vqr foreign key (IDENTIFIER_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.IDENTIFIER_ANNOTATION_AUD add constraint FKky0afx0m0ag1l508g114p7y4s foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.IDENTIFIER_AUD add constraint FKe1n0g9gva7nfy9n59o5ytje1v foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.IDENTIFIER_MARKER add constraint FKqvtcw0r0cnktava1ag2b2ojos foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.IDENTIFIER_MARKER add constraint FKsruadwm4olq5t1s4i6lgemvud foreign key (IDENTIFIER_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.IDENTIFIER_MARKER_AUD add constraint FK7frs14vlmbb79jrvmw81y0n0r foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING add constraint FKha59mpjwcl3ye4cnn8xrmsl2c foreign key (DESCRIPTION_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING add constraint FK4ldul50s47dv6thj1kgfghowd foreign key (DESCRIPTION_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING add constraint FK4ivne3cvbnpeu5rx9x5jk1dmk foreign key (INDIVIDUALSASSOCIATION_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING_AUD add constraint FKsb4p1p9e6dalbh2rs2u0sqsar foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.INSTITUTIONALMEMBERSHIP add constraint FK4e6eu47wuub8wxgy4fo9y5kep foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.INSTITUTIONALMEMBERSHIP add constraint FKfrn8fexgjdvdv30qk78mahngo foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.INSTITUTIONALMEMBERSHIP add constraint FKh8m2v2t9k3f4sl1e3oddxxjwm foreign key (INSTITUTE_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.INSTITUTIONALMEMBERSHIP add constraint FKhy9x2n0q3s6gbicapo9953jn0 foreign key (PERSON_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.INSTITUTIONALMEMBERSHIP_AUD add constraint FKab8o0bapv23a367xrwcaqsb5g foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.KEYSTATEMENT add constraint FKqnt3xxymg3txd0u1387bxjit6 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.KEYSTATEMENT add constraint FKsiddokwfgws8593qwpla0ulqf foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.KEYSTATEMENT_AUD add constraint FKgutspnardwn9j228jc0of47k2 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING add constraint FKmbd4p5vknepr3iln5yomf65ad foreign key (LABEL_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING add constraint FKejo7cd7gpmbaidhyhas8jta8w foreign key (LABEL_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING add constraint FKm7cn0w2qgsw6t87aqo0lurewu foreign key (KEYSTATEMENT_ID) references PUBLIC.KEYSTATEMENT; alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING_AUD add constraint FKglqxrq46v8s974it8txk76i4i foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.LANGUAGESTRING add constraint FKl41gi4ktpqvx3oaym4smy3h9s foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.LANGUAGESTRING add constraint FKfees6pjqwagbl613kaftsm53w foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.LANGUAGESTRING add constraint FK5odji33qku4b1ujdky851bvdc foreign key (LANGUAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.LANGUAGESTRING_ANNOTATION add constraint FK1ge61jqf39kafueea84gboccj foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.LANGUAGESTRING_ANNOTATION add constraint FK17n0l0cpfmgy3qs0uuet7cfj7 foreign key (LANGUAGESTRING_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.LANGUAGESTRING_ANNOTATION_AUD add constraint FKca0i3vinrmg9rupy5bfcybmpk foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.LANGUAGESTRING_AUD add constraint FK8g6m69f4osq6ofm5bk2n79pp1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.LANGUAGESTRING_MARKER add constraint FK7otjqpop5mnoyuhqugpaa9eyi foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.LANGUAGESTRING_MARKER add constraint FKnd3un50dqqur4tbk2ndx7f9nn foreign key (LANGUAGESTRING_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.LANGUAGESTRING_MARKER_AUD add constraint FK2pj2s75jnrj6vx5gf7enkfhoi foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.LSIDAUTHORITY add constraint FKl17h0ha0fop3fmf8e62udy4q4 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.LSIDAUTHORITY_NAMESPACES add constraint FKsw338lx87dq3g9e82qape1mhj foreign key (LSIDAUTHORITY_ID) references PUBLIC.LSIDAUTHORITY; alter table PUBLIC.MARKER add constraint FKpxxxvyh1al8e0fptwsip660he foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MARKER add constraint FKt03pllwosmw8t0n9u7y4hvmnf foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MARKER add constraint FK76rj0o6f74t485f9mfqkvjphs foreign key (MARKERTYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MARKER_AUD add constraint FK9d1rdy8cp9cpsi2ldmne4wimq foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FK2m8g515hxe5ko8rbbqtsdagwi foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FKduhc8fhnmb5sua9pit4lqp3il foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FKr5mue836ko6jcilo3qnj74o0o foreign key (ACTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FKfagdngp50n3ekagyewlg0olr5 foreign key (DEFINEDMATERIALORMETHOD_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FKgvxymmm3wnkly28ydpjq817kg foreign key (FORWARDPRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FKewjvap9j4ekn25ofb5ds2tr2p foreign key (REVERSEPRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.MATERIALORMETHODEVENT add constraint FKb6rtvwxq8trlwnkgbwageefo8 foreign key (MEDIUM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION add constraint FK6s51g75sia43v3p2b83d0ipwj foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION add constraint FKk7he90emcnqq3wawn3x8mqebp foreign key (MATERIALORMETHODEVENT_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION_AUD add constraint FK76xi1mcn7i1vy2o63v1w5xi2y foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MATERIALORMETHODEVENT_AUD add constraint FKt8i9mtebnj3fjnsbjgbtv2akt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MATERIALORMETHODEVENT_MARKER add constraint FKqntl9s1y57kw777ogfu246gic foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.MATERIALORMETHODEVENT_MARKER add constraint FK7pp1mm5np5dub9wi401gxqxhv foreign key (MATERIALORMETHODEVENT_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.MATERIALORMETHODEVENT_MARKER_AUD add constraint FK5rrfvhxp0hnutkhhpxk63diaq foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA add constraint FK5jt2cla3c4mnpl8p2iu3g70g1 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIA add constraint FKatx3ridt6f0vdhfi5jlwgv3x0 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIA add constraint FKbu4e8gehjj4mp56g75d13q6w3 foreign key (ARTIST_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.MEDIA add constraint FKqijxx4qtgfflv1emups6w16n4 foreign key (LINK_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.MEDIA_ANNOTATION add constraint FKa2tyy7newxxv33qdajxe9722 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.MEDIA_ANNOTATION add constraint FKnp6l75vgq181muteypk8vudr3 foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_ANNOTATION_AUD add constraint FKj8gq550dwgnhmbbj2taisatr6 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_AUD add constraint FKfkn65yfnjdbkfhqf641fcixnl foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_CREDIT add constraint FKlmuyqnsj6308ari1166tchoki foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.MEDIA_CREDIT add constraint FKpp1wuwvf7o6aslfpafa70q3jd foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_CREDIT_AUD add constraint FKisemhty7l7ncbi2ltqiaaf9yg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_DESCRIPTION add constraint FKd3n7y6ob5ruwwn5jfcla9mf3g foreign key (DESCRIPTION_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.MEDIA_DESCRIPTION add constraint FKckksoh0s4dpt7ue7vsjn0s7h1 foreign key (DESCRIPTION_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MEDIA_DESCRIPTION add constraint FKeobnie70i95fllnxjlwgrdah8 foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_DESCRIPTION_AUD add constraint FKau6jjvxwndy3rrxie2cksxt1l foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_EXTENSION add constraint FKphsfhl2396e4kgdoqovlsjsw foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.MEDIA_EXTENSION add constraint FK8q0ddmr1vsmh4vy2jrrkxymrs foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_EXTENSION_AUD add constraint FK5ai2eg6e15a4vp4wuup5p4iml foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_EXTERNALLINK add constraint FK2sxnllgjihyv6kw34a9x8ue7j foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.MEDIA_EXTERNALLINK add constraint FKgbfpelqbuf3rsfg13njh6hako foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_EXTERNALLINK_AUD add constraint FKbpkggid3d3dh0unvbvuwgwni5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_IDENTIFIER add constraint FKekkjl7i68xekus26ye4u63me7 foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.MEDIA_IDENTIFIER add constraint FK1yd2h1kxcfakib5o6q4w40u76 foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_IDENTIFIER_AUD add constraint FKl7ixofbsqy06vabpqadcwrl2f foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_LANGUAGESTRING add constraint FK7bytsc1lv3dhydmcwf4t3xxv3 foreign key (TITLE_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.MEDIA_LANGUAGESTRING add constraint FK4trhdsx1ll07ttyr4g9mdpmy7 foreign key (TITLE_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MEDIA_LANGUAGESTRING add constraint FK558ybqei2u974vged5uwk33au foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_LANGUAGESTRING_AUD add constraint FK1t0jlv6thb9ion1ttx04rfg7 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_MARKER add constraint FK4n9vmufv7m8a1bd6pd4j084oo foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.MEDIA_MARKER add constraint FKbdr4vdi3gfybpe7foyi55qiwq foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_MARKER_AUD add constraint FKa30b8151eyetbcxb32irkm3da foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE add constraint FKmrgc157o3tk55gxrm34qncxas foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE add constraint FKarh6x428ne9a1qskth2y961xa foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE_AUD add constraint FK7d2rhjkgxv0eiblpvlu6e3hb1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_REPRESENTATION add constraint FKpfurig0v38xdmo8ub6cef8r58 foreign key (KEYREPRESENTATIONS_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.MEDIA_REPRESENTATION add constraint FKd8gytg8fu4wgu9mxkn00h22mm foreign key (MEDIAKEY_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_REPRESENTATION_AUD add constraint FKqpqx3c0kp2wol5ahun5yd4fss foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_RIGHTSINFO add constraint FKinqb4cnam3v44glrv83kwbxnw foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.MEDIA_RIGHTSINFO add constraint FKa8ewwuo6idfbc0is6d1qpmcu7 foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_RIGHTSINFO_AUD add constraint FKcyktnr9dcrxhhvmc51fhcpyae foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIA_SEQUENCE add constraint FKhmb1miqgekb28sj0g00jupgal foreign key (USEDSEQUENCES_ID) references PUBLIC.SEQUENCE; alter table PUBLIC.MEDIA_SEQUENCE add constraint FKjn3k9mra42p30ft31r8efr261 foreign key (PHYLOGENETICTREE_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIA_SEQUENCE_AUD add constraint FK4sgy2dnncrpy6t1cns8u5d3wt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAKEY_COVEREDTAXON add constraint FKgq8rug80mcbiuhniuyibmg9wf foreign key (COVEREDTAXA_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.MEDIAKEY_COVEREDTAXON add constraint FKap8n2od3rjbpb88vbr0ovs6g0 foreign key (MEDIAKEY_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIAKEY_COVEREDTAXON_AUD add constraint FK906wuciy2p566sdmj0gi5hic8 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAKEY_NAMEDAREA add constraint FKkh7mw6x6yqw93i3hlhtsok0tp foreign key (GEOGRAPHICALSCOPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MEDIAKEY_NAMEDAREA add constraint FKf2ckrp1j25fo5o9uicvkxlsmh foreign key (MEDIAKEY_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIAKEY_NAMEDAREA_AUD add constraint FKhud2t8jg3dj86eemk7wv12bdd foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAKEY_SCOPE add constraint FK4ys33tdntit3p4152c0umcd97 foreign key (SCOPERESTRICTIONS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MEDIAKEY_SCOPE add constraint FKi7nb5hk0ym0unf6dtujrregvi foreign key (MEDIAKEY_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIAKEY_SCOPE_AUD add constraint FKas4n2bdjs0ef0p6io7jayo9ly foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAKEY_TAXONSCOPE add constraint FK1x3ncwhtsayjkbmr2u0bhtwr2 foreign key (TAXONOMICSCOPE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.MEDIAKEY_TAXONSCOPE add constraint FKl54377w4bhmethua9saprhfnp foreign key (MEDIAKEY_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIAKEY_TAXONSCOPE_AUD add constraint FKhlkp7nckpev0f2q1vjw4t445q foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAMETADATA add constraint FK5v1bg8libi2d7yqa9kl0u0s28 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIAMETADATA add constraint FKj27xjdoy7xih43f1fc0fs7b5h foreign key (MEDIAREPRESENTATION_ID) references PUBLIC.MEDIAREPRESENTATIONPART; alter table PUBLIC.MEDIAMETADATA_AUD add constraint FKph85imftnqlcjatgdra3uecyu foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAREPRESENTATION add constraint FKt9afuo5wjld9tdkhig8cqmv7n foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIAREPRESENTATION add constraint FK39yf9laudtucc2cc8a1gxwfu3 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIAREPRESENTATION add constraint FK3d8au7x4epsycs7bjd448sus8 foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.MEDIAREPRESENTATION_AUD add constraint FKjc158ij9ht51r5hyh7s0p9dsg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAREPRESENTATION_MEDIAREPRESENTATIONPART_AUD add constraint FKedbbs2rqub7pwtsgb768cbfvo foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MEDIAREPRESENTATIONPART add constraint FKh56c61h8ii9xxfnpc77gw5qja foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIAREPRESENTATIONPART add constraint FKbb49cpq7yu07t0xs2inavrncn foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.MEDIAREPRESENTATIONPART add constraint FKig3s3bjcy5bkcxbmg73xwakbj foreign key (REPRESENTATION_ID) references PUBLIC.MEDIAREPRESENTATION; alter table PUBLIC.MEDIAREPRESENTATIONPART_AUD add constraint FKoddk6oed4b7rfff43y7ohiaqt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MULTIACCESSKEY_COVEREDTAXON add constraint FK3v1uopyru9uudt5846w3dgg71 foreign key (COVEREDTAXA_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.MULTIACCESSKEY_COVEREDTAXON add constraint FKi19fbi6kkthejio1klc6ign3k foreign key (MULTIACCESSKEY_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.MULTIACCESSKEY_COVEREDTAXON_AUD add constraint FK3oouvy3v9cfiir21ui3a7io2g foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MULTIACCESSKEY_NAMEDAREA add constraint FKbywwucox1a64ngotfntsy6fq5 foreign key (GEOGRAPHICALSCOPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MULTIACCESSKEY_NAMEDAREA add constraint FKl3by7ws3c17vxqjc87enikiqw foreign key (MULTIACCESSKEY_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.MULTIACCESSKEY_NAMEDAREA_AUD add constraint FK3kbee56bwmghbb0j2298rd7q7 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MULTIACCESSKEY_SCOPE add constraint FKewd4vpdnw8kegxw09bnnqico6 foreign key (SCOPERESTRICTIONS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.MULTIACCESSKEY_SCOPE add constraint FK2ps3fnm9gojhdb1a47h5bmyaj foreign key (MULTIACCESSKEY_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.MULTIACCESSKEY_SCOPE_AUD add constraint FK3fldfylv97kpucv0sgomb61ke foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.MULTIACCESSKEY_TAXONSCOPE add constraint FKiry9ulp3rgiboawavmc1wop3p foreign key (TAXONOMICSCOPE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.MULTIACCESSKEY_TAXONSCOPE add constraint FK8i6uytadqd51bigttd0egyold foreign key (MULTIACCESSKEY_ID) references PUBLIC.DESCRIPTIVEDATASET; alter table PUBLIC.MULTIACCESSKEY_TAXONSCOPE_AUD add constraint FK5ogfq28bkixp7h2rnhfl50ois foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.NAMERELATIONSHIP add constraint FK5m862rjl4drxy5le82bbykarh foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.NAMERELATIONSHIP add constraint FKisr7bbb03lm6b07eb76j1k2ve foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.NAMERELATIONSHIP add constraint FKjreoavlq7y5mjqsd6mxxh6x9t foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.NAMERELATIONSHIP add constraint FKpyd9252bmeoj0wp2pbukxe0m3 foreign key (RELATEDFROM_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.NAMERELATIONSHIP add constraint FK4ybb7mej2wa8w00r50t7954bi foreign key (RELATEDTO_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.NAMERELATIONSHIP add constraint FKo5uww2hlmg6mj5upb4huvqtek foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION add constraint FK5tqs8qu3viamxblfafmo2ltix foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION add constraint FK57hxjs1u5059c361q60lkao0m foreign key (NAMERELATIONSHIP_ID) references PUBLIC.NAMERELATIONSHIP; alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION_AUD add constraint FKln0ioxvn1pkxf8psxko7pdsuk foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.NAMERELATIONSHIP_AUD add constraint FKnqfmuu3a27ssmfxs4p1ihxctd foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.NAMERELATIONSHIP_MARKER add constraint FK77uxv4q24hn3b4j5cqc91jqtp foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.NAMERELATIONSHIP_MARKER add constraint FK7uypurg37rr4wrm1axfpsqfuo foreign key (NAMERELATIONSHIP_ID) references PUBLIC.NAMERELATIONSHIP; alter table PUBLIC.NAMERELATIONSHIP_MARKER_AUD add constraint FK7wug8hly6m2decbrng2sgftt6 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.NOMENCLATURALSTATUS add constraint FK5820cbqnerf9plrgk6862x5v4 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.NOMENCLATURALSTATUS add constraint FKl83o0si0dm8jl0d6t0r8auvdo foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.NOMENCLATURALSTATUS add constraint FKounhneivaa8a8gq02ujxa7bok foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.NOMENCLATURALSTATUS add constraint FKnwnqfs7rtu5s6ktukjwjl5l99 foreign key (NAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.NOMENCLATURALSTATUS add constraint FK2nx3xkiso287sgyshq1tig3rm foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION add constraint FKh6gi7o2srka5h5epeq92l6olg foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION add constraint FKn91p44bqajykhwigpy51bygpv foreign key (NOMENCLATURALSTATUS_ID) references PUBLIC.NOMENCLATURALSTATUS; alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION_AUD add constraint FKqd935p1d999kflrjtdsw7ou4n foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.NOMENCLATURALSTATUS_AUD add constraint FK59nyj4uqyjp7ijob9uk7ynhqq foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.NOMENCLATURALSTATUS_MARKER add constraint FKgxqba2btdg1cdfhgqn8yock2g foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.NOMENCLATURALSTATUS_MARKER add constraint FKruwwc21kolwd8fcw34a5sty4k foreign key (NOMENCLATURALSTATUS_ID) references PUBLIC.NOMENCLATURALSTATUS; alter table PUBLIC.NOMENCLATURALSTATUS_MARKER_AUD add constraint FKn230tdwy5gmkpukhllviv5gnw foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.OCCURRENCESTATUS add constraint FKfi3fgojr7s2adfaftmvf6890v foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.OCCURRENCESTATUS add constraint FK8y5d9bqkght1slh7uaou1my4q foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.OCCURRENCESTATUS add constraint FK3qxj8wc6fwv9rtvkmqmmg6eoq foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.OCCURRENCESTATUS add constraint FKg0fibni2cfctsl9fn6bu82bv8 foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.OCCURRENCESTATUS add constraint FKpaseuwql9dv2k5nglokr036gt foreign key (UNIT_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION add constraint FKmi8wajn1b2dap4du7382ns1p7 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION add constraint FKhkcv2asll2qgfbadptprkgcv foreign key (OCCURRENCESTATUS_ID) references PUBLIC.OCCURRENCESTATUS; alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION_AUD add constraint FKbr3pwpmei7gnb2pt3dx97famg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.OCCURRENCESTATUS_AUD add constraint FKl6yf0vmexcc2uny38cyvmgg38 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.OCCURRENCESTATUS_MARKER add constraint FKth4vxi2p0qeqyf32agmx9c6aw foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.OCCURRENCESTATUS_MARKER add constraint FK8crdapabsalpyrgg7d4atttrh foreign key (OCCURRENCESTATUS_ID) references PUBLIC.OCCURRENCESTATUS; alter table PUBLIC.OCCURRENCESTATUS_MARKER_AUD add constraint FKe5jfmks2oyefwqea9mt2jfvrr foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FK56097u29nm3kqoen148wticln foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FKnnfgrmxmj8f121ir4s6pbv9cy foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FKfxh9b9ffu60qhcx1lg6ys3phg foreign key (CDMSOURCE_ID) references PUBLIC.CDMLINK; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FKrcxnnsyeq1o245gqtaqafwxr5 foreign key (CITATION_ID) references PUBLIC.REFERENCE; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FK1mg18wyfhlvfodo9vqlvrar4x foreign key (NAMEUSEDINSOURCE_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FK5jw9wax0119xqu5g15yn43ufe foreign key (SOURCEDELEMENT_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FKcfyx4vfln4xi61ebxjc3q37aw foreign key (SOURCEDNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.ORIGINALSOURCEBASE add constraint FKnjdmnpc75cwobndpygowwr5et foreign key (SOURCEDTAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION add constraint FK82rq53k1sbkqxuxuh5eyuels9 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION add constraint FKk9g15xmam2bb1ftn3mepdta2w foreign key (ORIGINALSOURCEBASE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION_AUD add constraint FKgnid23r1i5vd5itu0j7edk9jm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ORIGINALSOURCEBASE_AUD add constraint FKj4iide8es0afb944hromeyiy5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK add constraint FKhao3w7bnvn04gcgfqv7nhd3vm foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK add constraint FK1luh6bvphc349xi5dafgm1ebo foreign key (ORIGINALSOURCEBASE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK_AUD add constraint FKgprp254qlt2o46s0suw8ngr3y foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.ORIGINALSOURCEBASE_MARKER add constraint FKo5jl6f5absr8h6jufdwe4ewci foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.ORIGINALSOURCEBASE_MARKER add constraint FK4n2h7oem0vade36wxrglsurtg foreign key (ORIGINALSOURCEBASE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.ORIGINALSOURCEBASE_MARKER_AUD add constraint FK6dwyy7q5wn50usw5we1pc8cm3 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.PERMISSIONGROUP add constraint FKgx3t82ecrv7xi9xjoy4tyvklo foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.PERMISSIONGROUP_AUTHORITY add constraint FKfoji32lkjkjq5yw15texdhtrk foreign key (AUTHORITIES_ID) references PUBLIC.AUTHORITY; alter table PUBLIC.PERMISSIONGROUP_AUTHORITY add constraint FKeu4c3yixm3oljf3x2k8ip6syk foreign key (GROUP_ID) references PUBLIC.PERMISSIONGROUP; alter table PUBLIC.PERMISSIONGROUP_GRANTEDAUTHORITYIMPL add constraint FK9b9fykp1ctffg735qtku14oc1 foreign key (GRANTEDAUTHORITIES_ID) references PUBLIC.GRANTEDAUTHORITYIMPL; alter table PUBLIC.PERMISSIONGROUP_GRANTEDAUTHORITYIMPL add constraint FKduckneq8rvp2jy3ilcbg4rqvw foreign key (GROUP_ID) references PUBLIC.PERMISSIONGROUP; alter table PUBLIC.POLYTOMOUSKEY add constraint FK8t6ginw3uygb490f3n6akjac4 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.POLYTOMOUSKEY add constraint FKpo80sid41nn4o4nngvc2n84si foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.POLYTOMOUSKEY add constraint FKb1oe3ttdacani8vkrjfpbj1wx foreign key (ROOT_ID) references PUBLIC.POLYTOMOUSKEYNODE; alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION add constraint FKnlfidgjc8s04ovec6u3ig3eeg foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION add constraint FKdu1hf3rbek2rxym9qkh3fu90r foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION_AUD add constraint FKtaq42vb406smn38slcj2find foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_AUD add constraint FK66glnn9ho10p3951rrj3b4dh7 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_CREDIT add constraint FKrlojxa63t5eyw3q7pacq0pjtr foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.POLYTOMOUSKEY_CREDIT add constraint FKtl0f7mwmvl7sjbhiosb0cu2t0 foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_CREDIT_AUD add constraint FK24f7p1lxyop6d00ph01iwi0pj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_EXTENSION add constraint FKxqseuqda0gdsj8stduxgpn8e foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.POLYTOMOUSKEY_EXTENSION add constraint FKgt04pyi931toujwby6uusnn6r foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_EXTENSION_AUD add constraint FKp3hac601rfmm3x5vkhme6gwa4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK add constraint FK1s6pl4qty9pfvc615tcsc682d foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK add constraint FKk8rnk1qnfemrqrawf57lqh5ba foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK_AUD add constraint FK24plxftgc5tkn1lwfleilx0nm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER add constraint FK5cj9cgsklvh86vm99d91ybvno foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER add constraint FK2fgu8ela06eddcai496x05t1g foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER_AUD add constraint FK2lv0okcy735gllrnemjwo57c9 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_MARKER add constraint FKaq3k8plccu7n62qbfribx9xn4 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.POLYTOMOUSKEY_MARKER add constraint FK8pjb78gusgyd19p8psj1i7pc4 foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_MARKER_AUD add constraint FKhffa71cvsn0ls7to7jchctw8c foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_NAMEDAREA add constraint FKambevp7xginl356xl15af39js foreign key (GEOGRAPHICALSCOPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.POLYTOMOUSKEY_NAMEDAREA add constraint FK8jtq8rkn25qxkllyf81psyyk5 foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_NAMEDAREA_AUD add constraint FKmvnsegfrchxwekvnxfoh889n1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE add constraint FK6js0kkmeu6j29gjeq8ohdcqu4 foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE add constraint FK7oob7ho6gy5p85qbtqrmm0pex foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE_AUD add constraint FK4stmdowica6vsiourn2c9tav4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO add constraint FKr6oxnexxqe2w81j9intdnps8c foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO add constraint FKaa11xw9s73spxirpn8mxm61y2 foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO_AUD add constraint FKlww6f24naamn2asudaieqogld foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_SCOPE add constraint FK8xktkt5opce63jyoy175iv8of foreign key (SCOPERESTRICTIONS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.POLYTOMOUSKEY_SCOPE add constraint FKsmmd6mh4auai930shd0h2c5nh foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_SCOPE_AUD add constraint FKf39vyg273170560cf2vu0kt3q foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_TAXON add constraint FKqbkegqn9dht3u6gp7liulp4t9 foreign key (TAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.POLYTOMOUSKEY_TAXON add constraint FK49qe84hnlpvhbfc63kq2pkfxc foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_TAXON_AUD add constraint FK47ykt289g81f0dtlujtt16cbt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEY_TAXONBASE add constraint FKjhiydrch37c27v4c40mqixim7 foreign key (COVEREDTAXA_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.POLYTOMOUSKEY_TAXONBASE add constraint FK9piwjstxogd6mr8sxji73qgrb foreign key (POLYTOMOUSKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEY_TAXONBASE_AUD add constraint FKjwy9064h2ysteoxydwafu5k9x foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FK5ft9akqhei6t2hfhhxts8ce95 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FKequq2k2xy1mfkjdags2kud5yh foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FK8sbvsc1ujuehfe5fxr96oknpf foreign key (FEATURE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FKn8pt6xaubl8bhy47bi3o4t90t foreign key (KEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FKjxcbp1dx3ry5wtbutquaaxpgi foreign key (OTHERNODE_ID) references PUBLIC.POLYTOMOUSKEYNODE; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FKbbyp3iceg7u2nvyy7n67xijao foreign key (PARENT_ID) references PUBLIC.POLYTOMOUSKEYNODE; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FKd4sdbv79r785hgf7b9jlng25o foreign key (QUESTION_ID) references PUBLIC.KEYSTATEMENT; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FKhp4cplr1q2n0mcn7bti87wibu foreign key (STATEMENT_ID) references PUBLIC.KEYSTATEMENT; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FK3pv97jv9ktjfb85u6ayn1j53t foreign key (SUBKEY_ID) references PUBLIC.POLYTOMOUSKEY; alter table PUBLIC.POLYTOMOUSKEYNODE add constraint FK4a1yro1cx5jplqd8us8xma528 foreign key (TAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.POLYTOMOUSKEYNODE_AUD add constraint FKcigdtd4b11l3smmkl6s777msi foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING add constraint FKilljp32pjfswdajx8w75943t1 foreign key (MODIFYINGTEXT_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING add constraint FKqa1g7fkymww3gx8ug0gu30ik3 foreign key (MODIFYINGTEXT_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING add constraint FKnqsceve7e8it1ewmqy2ej1316 foreign key (POLYTOMOUSKEYNODE_ID) references PUBLIC.POLYTOMOUSKEYNODE; alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING_AUD add constraint FK9rvmrler3nr5p0xbo2as3rrhj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.PRIMER add constraint FK32hhpdfsidhk7wr61m97q0nc9 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.PRIMER add constraint FKi6nj6kxm8llg2rctqmv0di34a foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.PRIMER add constraint FKpf6komibsthgabcmls558c1xv foreign key (DNAMARKER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.PRIMER add constraint FK1e530g3uusoc2c15r3mmq7wrw foreign key (PUBLISHEDIN_ID) references PUBLIC.REFERENCE; alter table PUBLIC.PRIMER_ANNOTATION add constraint FKgxqh0dv2l7d77cdtcd2mjfqs4 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.PRIMER_ANNOTATION add constraint FK3qn5oohn1iy0t31os6n75780d foreign key (PRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.PRIMER_ANNOTATION_AUD add constraint FKacp747fd7phjw5uo7aefvf4t foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.PRIMER_AUD add constraint FKj9sn6psn0afnkj5kem30q3861 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.PRIMER_MARKER add constraint FK2fiml4ltw24q0chu8fq08r9vd foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.PRIMER_MARKER add constraint FKsdawi90h1i3wd7kaqhpun34cn foreign key (PRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.PRIMER_MARKER_AUD add constraint FKrfvicy6f9ncmm31ut6bo5f8n3 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE add constraint FKle9tcgup8krket3iqa62s01lq foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REFERENCE add constraint FK165mkg89au6vgkswowggsgm2o foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REFERENCE add constraint FK4hf6ri3se9yq1w2mg53dfhl72 foreign key (AUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.REFERENCE add constraint FK27o2kx5q2b3l7hiqkqnv5r178 foreign key (INREFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE add constraint FKpwebia8d2ovqaidbpcbgpato6 foreign key (INSTITUTION_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.REFERENCE add constraint FKnprcmwwb26j8tbhwf4ep4gewg foreign key (SCHOOL_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.REFERENCE_ANNOTATION add constraint FK3h1rf46bp5a8k60f7u67nhtpv foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.REFERENCE_ANNOTATION add constraint FKpn98f9mvlgkaejv843cn0sg83 foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_ANNOTATION_AUD add constraint FKs6fc0jwihbq2927h1gaymr5eg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_AUD add constraint FKqbty6b0iw8all5l42ic4tpf38 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_CREDIT add constraint FKn2uvoteg71vw56868p3x6qxou foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.REFERENCE_CREDIT add constraint FKfwgylj2w8lv0up9xpv75byr6g foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_CREDIT_AUD add constraint FK3p623wp7mc371siubt2ra2tdl foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_EXTENSION add constraint FKnqreuhok5s10dtfxw5ny2riih foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.REFERENCE_EXTENSION add constraint FKg1pbsg54nh7633momys7p4nch foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_EXTENSION_AUD add constraint FKo7jdd67qh0pd90j9apeksx0jg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_EXTERNALLINK add constraint FK7fautj36j770gihvn9r4kbpyt foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.REFERENCE_EXTERNALLINK add constraint FK1p93cq08opc6jrq43ba92uscf foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_EXTERNALLINK_AUD add constraint FKjh8parx8fcg8n2v1s8mr8ov4x foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_IDENTIFIER add constraint FKybtkfs52y8f4jni1wanc2gup foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.REFERENCE_IDENTIFIER add constraint FKtiwpypbkp9qxa1i94x76to5h0 foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_IDENTIFIER_AUD add constraint FK7aj1u6u9k2lb667d1us03971s foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_MARKER add constraint FKexveap1g68lrgxc6efidxhrgn foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.REFERENCE_MARKER add constraint FK64at0o81vqgvj69w7t5qvbdrl foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_MARKER_AUD add constraint FK6ae696fw5a7eawiws33fi7b14 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_MEDIA add constraint FKbb5d186fv3gtyv06mx1mnmtwh foreign key (MEDIA_ID) references PUBLIC.MEDIA; alter table PUBLIC.REFERENCE_MEDIA add constraint FK5yxpvi6nd6mn7n08cncx91ub9 foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_MEDIA_AUD add constraint FKmlwa5rxpxyg87l66smv02jsq0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE add constraint FK9i0lkw20vok2hhjp6bqscfdnq foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE add constraint FKnp8wotm5fxlu01e0wfpwdic89 foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE_AUD add constraint FK99q3y0h34t7u2c8ihufrk0xax foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REFERENCE_RIGHTSINFO add constraint FK4dvfa5njhxqm4xn1kkr713lb1 foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.REFERENCE_RIGHTSINFO add constraint FKthd91iq4bm0aiasvt08k8hj24 foreign key (REFERENCE_ID) references PUBLIC.REFERENCE; alter table PUBLIC.REFERENCE_RIGHTSINFO_AUD add constraint FKwwbtu9k15ljhw1k1pc37oga2 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REGISTRATION add constraint FKssbxh4stu2wjvobj0k8omxk9b foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REGISTRATION add constraint FKr2ddqrho2eg05tmocpsh1vmat foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REGISTRATION add constraint FK6qft65ee3gsryatwh859ryv0i foreign key (INSTITUTION_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.REGISTRATION add constraint FKjkkn6tcwss7td0s2f0vy06qvw foreign key (NAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.REGISTRATION add constraint FKsn1r5cgwymwjfn01wm76uqhqn foreign key (SUBMITTER_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REGISTRATION_ANNOTATION add constraint FK92r3x37cv7klewqb3rshwiagm foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.REGISTRATION_ANNOTATION add constraint FKqehcemqaw1cvmcwtxecb8oavg foreign key (REGISTRATION_ID) references PUBLIC.REGISTRATION; alter table PUBLIC.REGISTRATION_ANNOTATION_AUD add constraint FKaio2h4hn62kqw9phwhle474yx foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REGISTRATION_AUD add constraint FKo93opuyfftg08vy7mjlcvfjop foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REGISTRATION_MARKER add constraint FK34db6lj24sr92kwuufjk1sv5o foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.REGISTRATION_MARKER add constraint FKg54mvlwemv9s7a6jh265f8pr5 foreign key (REGISTRATION_ID) references PUBLIC.REGISTRATION; alter table PUBLIC.REGISTRATION_MARKER_AUD add constraint FKdjkydxm3wp8ygixl3xgogqe6u foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REGISTRATION_REGISTRATION add constraint FK6067kgt9p8bxk1q7wggh65o66 foreign key (BLOCKEDBY_ID) references PUBLIC.REGISTRATION; alter table PUBLIC.REGISTRATION_REGISTRATION add constraint FK5ed1b3q5umuexfr5st0ona9xv foreign key (REGISTRATION_ID) references PUBLIC.REGISTRATION; alter table PUBLIC.REGISTRATION_REGISTRATION_AUD add constraint FKcqu7i9pvfl6ph8ewuwkfvfkdr foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE add constraint FK4k135mn6g006dglnqrbijc5kd foreign key (TYPEDESIGNATIONS_ID) references PUBLIC.TYPEDESIGNATIONBASE; alter table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE add constraint FKn4mb5q2u5sl33q3y5nqsin6bb foreign key (REGISTRATIONS_ID) references PUBLIC.REGISTRATION; alter table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE_AUD add constraint FKiskkkxaks4xwq52fte6nyytvr foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REPRESENTATION add constraint FKtdoseswew2hyk8h15rvyb756h foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REPRESENTATION add constraint FKexa8xill5lnafq9r1yfhkvh0s foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.REPRESENTATION add constraint FKtkw5afbnyylkj975yadgn1a86 foreign key (LANGUAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.REPRESENTATION_ANNOTATION add constraint FK18rqbqkcmqfofgsxlouwqhm82 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.REPRESENTATION_ANNOTATION add constraint FKbikfpnfmd6i1a7nymmp0mp7iu foreign key (REPRESENTATION_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.REPRESENTATION_ANNOTATION_AUD add constraint FKa1e0ifuoima2iybwr7lw0q2xp foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REPRESENTATION_AUD add constraint FKp61ci06xj3vhyv9gwulmb6wem foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.REPRESENTATION_MARKER add constraint FKo878d4cblmdiy4owjjc80iext foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.REPRESENTATION_MARKER add constraint FKds57g2msbsf0mgk94219bxxop foreign key (REPRESENTATION_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.REPRESENTATION_MARKER_AUD add constraint FK7kec8ols5fvutxbuj858egx4d foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.RIGHTSINFO add constraint FK2jiffytis626vo56oatyrx5kq foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.RIGHTSINFO add constraint FKqpuckklm5c67ag4l64aso2cvx foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.RIGHTSINFO add constraint FKlcnekfrfsb7vod0tlhusbh54s foreign key (LANGUAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.RIGHTSINFO add constraint FKt4y8xwx7tfbpy210eo0h8kdid foreign key (AGENT_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.RIGHTSINFO add constraint FKhn9pp43cnc43bgb91j8dtv1c foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.RIGHTSINFO_ANNOTATION add constraint FK60xtsee4ecu8wnv13vbm577rb foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.RIGHTSINFO_ANNOTATION add constraint FKg4o6hafvjop6eel8u5j8emvvi foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.RIGHTSINFO_ANNOTATION_AUD add constraint FK40wx9iccfdycbd74tby29y3c0 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.RIGHTSINFO_AUD add constraint FKkn92l09y1hr1gwjex20ta3gbi foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.RIGHTSINFO_MARKER add constraint FKsp8q26s44pv51nej50pjrq2a6 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.RIGHTSINFO_MARKER add constraint FKdk1r2wwyvy9luf6bm1xqjfmsm foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.RIGHTSINFO_MARKER_AUD add constraint FKnchbx3jmqk3trn3mamyo7eksm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SEQUENCE add constraint FKkmd1cn62er1xcp86dx7einhk7 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SEQUENCE add constraint FK5o1y7jktbsdu1ksch9jw66je4 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SEQUENCE add constraint FKhnqr3w25pdinfhtosfey212k1 foreign key (CONTIGFILE_ID) references PUBLIC.MEDIA; alter table PUBLIC.SEQUENCE add constraint FK7yvdcq92iyxqr6bmp1ssy6141 foreign key (DNAMARKER_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.SEQUENCE add constraint FKrmpeal8i2ua8e1urhovnrtk8t foreign key (DNASAMPLE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SEQUENCE_ANNOTATION add constraint FK7ds65rq20wx4nhijkig382h3s foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.SEQUENCE_ANNOTATION add constraint FK990bkrieauvovi86khwwh3erg foreign key (SEQUENCE_ID) references PUBLIC.SEQUENCE; alter table PUBLIC.SEQUENCE_ANNOTATION_AUD add constraint FK735drd5jfafia5oognoeu0ce4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SEQUENCE_AUD add constraint FKgcsldov9d71x65sfb6kbbm7vb foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SEQUENCE_MARKER add constraint FK3ks6r00vtciodc9wauki4v409 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.SEQUENCE_MARKER add constraint FK8w5x7vlftqlwajavaai4t0hx4 foreign key (SEQUENCE_ID) references PUBLIC.SEQUENCE; alter table PUBLIC.SEQUENCE_MARKER_AUD add constraint FK9nl9gtujit06edk8y2vkmn3hp foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SEQUENCE_REFERENCE add constraint FKlg4hwwmltj8p5gku7p77b9pou foreign key (CITATIONS_ID) references PUBLIC.REFERENCE; alter table PUBLIC.SEQUENCE_REFERENCE add constraint FKg7s8aew2gv6d260iaw5rhcm54 foreign key (SEQUENCE_ID) references PUBLIC.SEQUENCE; alter table PUBLIC.SEQUENCE_REFERENCE_AUD add constraint FKi8bj6rjgoss59rhkgwxxmlkef foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SINGLEREAD add constraint FKfw74hffhlb8x59tvig9cewa7i foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SINGLEREAD add constraint FKg08udj69wauapv748n35lxwjs foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SINGLEREAD add constraint FKaqcanlwldwlt09m3txtgk7ieu foreign key (ACTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.SINGLEREAD add constraint FKm6s626c2uvl941dj36c155jg7 foreign key (AMPLIFICATIONRESULT_ID) references PUBLIC.AMPLIFICATIONRESULT; alter table PUBLIC.SINGLEREAD add constraint FKh6gofui5omhxrc7wkqbapo7xf foreign key (MATERIALORMETHOD_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.SINGLEREAD add constraint FK6ioy6uylmcaaeb6eiudmnkinr foreign key (PHEROGRAM_ID) references PUBLIC.MEDIA; alter table PUBLIC.SINGLEREAD add constraint FK5x7p1u0ah52n2ekvfvmhfveg7 foreign key (PRIMER_ID) references PUBLIC.PRIMER; alter table PUBLIC.SINGLEREAD_ANNOTATION add constraint FKofpbgyox6noaccf00cwjmgvot foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.SINGLEREAD_ANNOTATION add constraint FKc03vvm6whlk103xpihknhmkf0 foreign key (SINGLEREAD_ID) references PUBLIC.SINGLEREAD; alter table PUBLIC.SINGLEREAD_ANNOTATION_AUD add constraint FK87xgjw97bfm1ak23iki10fb6r foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SINGLEREAD_AUD add constraint FKer5xxym35jgbw30e5bdobgece foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SINGLEREAD_MARKER add constraint FK12b4bm2mumaxlu1mdxomeofhe foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.SINGLEREAD_MARKER add constraint FKbg50mgka7gb4a61mplqvtgbon foreign key (SINGLEREAD_ID) references PUBLIC.SINGLEREAD; alter table PUBLIC.SINGLEREAD_MARKER_AUD add constraint FKqscee3khmdkd1juu808ef14w7 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SINGLEREADALIGNMENT add constraint FK94um4cdy0gibxrmvk91tj7jys foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SINGLEREADALIGNMENT add constraint FKem9kh2lqnndqbnjnrpvg2q6xb foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SINGLEREADALIGNMENT add constraint FKmmrsuqctgct01xa98j6av0mct foreign key (CONSENSUSALIGNMENT_ID) references PUBLIC.SEQUENCE; alter table PUBLIC.SINGLEREADALIGNMENT add constraint FKm3tvcjk2s4hlm237ju9neiigs foreign key (SINGLEREAD_ID) references PUBLIC.SINGLEREAD; alter table PUBLIC.SINGLEREADALIGNMENT_AUD add constraint FK1eidhn9x3gyc1yme1ma0mwhtf foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKltx2rybqga5h0sjxxwbkld3rr foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKq4t146rful3aalnna6kw2a0ik foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKf0p6rqb26b2q95ot4ckyar9p9 foreign key (KINDOFUNIT_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKlf8p7agyukdsffkyfk7yrl9jt foreign key (LIFESTAGE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKtnyhf1s596j64prsb9sf9ln83 foreign key (SEX_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKh5kw5m7u52yvfpy82sj0e4tq6 foreign key (COLLECTION_ID) references PUBLIC.COLLECTION; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKl1doqerdkgcxtacrq0knkg9yu foreign key (DERIVEDFROM_ID) references PUBLIC.DERIVATIONEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKylj8khlb1u8nhd1bxs5g0ysl foreign key (PRESERVATION_ID) references PUBLIC.MATERIALORMETHODEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKq9n9aa56bm0b7tck8a9ji4h6p foreign key (STOREDUNDER_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FK3fj2x5dmhlpl44gn79km6ujj3 foreign key (DNAQUALITY_ID) references PUBLIC.DNAQUALITY; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKc49f3crpwygf5rc43e6llmho4 foreign key (GATHERINGEVENT_ID) references PUBLIC.GATHERINGEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FK7kl52kgwq2cwbgoe6w33aeieg foreign key (PRIMARYCOLLECTOR_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE add constraint FKauk8t7vijxtn7x4bbjqq12shh foreign key (MEDIASPECIMEN_ID) references PUBLIC.MEDIA; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION add constraint FKtf609jyno7kbkxm6yx0jykeo3 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION add constraint FKo8ck5ki21xsr3ipb0myxucuob foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION_AUD add constraint FK57fdxs2utj9xtxlkupmg301qi foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_AUD add constraint FK5uws1yjwcl6mkp78y94pbob6n foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT add constraint FK7yo0h2uvmvwr2ic6bddst83je foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT add constraint FK2c8tg91pmj2eeia0bpvi7wbmc foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT_AUD add constraint FKp6m6osrukoumcyka6muk5kdig foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT add constraint FKlnuvv6x73buev4rlli7ect7q2 foreign key (DERIVATIONEVENTS_ID) references PUBLIC.DERIVATIONEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT add constraint FKka19bd8jqn54u7804ysnf9at5 foreign key (ORIGINALS_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT_AUD add constraint FKr6c4sn69c3ei7a17o5v05fq1i foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION add constraint FKg7bhhhtopm521u0axp62f1qk9 foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION add constraint FKienad1fgx35c4rwk3k9a1olmq foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION_AUD add constraint FK7mpvncivoodjcotn3dkfmuqop foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK add constraint FK996cw0phqmjku9wuu3ruhqarl foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK add constraint FKi3c7t6099l4a5b3yn34h97euc foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK_AUD add constraint FKi8f4ai5efkdf39h3scc1uq1s4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER add constraint FKtrbtjge57psmdu8q0ud2whiv8 foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER add constraint FKh57r3qdvtqj4ss6xjtgt7hpie foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER_AUD add constraint FKiimd0fug7lm93css6tn210f22 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING add constraint FKn49y4yacwfhqh8460gbklbk28 foreign key (DEFINITION_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING add constraint FK1eeji5p0d8jqudp5bo2okys74 foreign key (DEFINITION_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING add constraint FKr3c9gvird8624m1cxbkvp9ej1 foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING_AUD add constraint FKp8dhlqkoaya1sx88ihevigsyh foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER add constraint FKp22nigd4rmq3l138miwd02n6l foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER add constraint FK4tq39xp7evhgofyifa02sio1x foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER_AUD add constraint FKg1j0ddbyt151ki1r6nteex817 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE add constraint FKb7oaaxqt6esisionanfdslcku foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE add constraint FK9sf33l2q6twuv4bom7q494e5d foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE_AUD add constraint FKki1840nc5oj31yijt09t0u755 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO add constraint FK7h0u26004g9wbf4af23one14m foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO add constraint FKor72q8cm4fy7pe5qo59qgg6rx foreign key (SPECIMENOROBSERVATIONBASE_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO_AUD add constraint FKi6ew7w0x3l4b2chewqw5ga1dc foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.STATEDATA add constraint FK3ensfor4bmuhd9qyxfvvu0kyk foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.STATEDATA add constraint FK7mcn266t04pq9nroyonci5yu1 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.STATEDATA add constraint FKotgbmlo45d4x43tupimx4thee foreign key (CATEGORICALDATA_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.STATEDATA add constraint FK31iswia8ew329qhp43isbloa6 foreign key (STATE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.STATEDATA_AUD add constraint FKp7w6hvurw2grs3i0crfy9sc1r foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.STATEDATA_DEFINEDTERMBASE add constraint FKp2vkekfbpq8unji82kxoyqq1d foreign key (MODIFIERS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.STATEDATA_DEFINEDTERMBASE add constraint FKcc7dli5ns18wtoikflm6oped3 foreign key (STATEDATA_ID) references PUBLIC.STATEDATA; alter table PUBLIC.STATEDATA_DEFINEDTERMBASE_AUD add constraint FK9rivv0b7u08ahfm8ebxtlkdus foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.STATEDATA_LANGUAGESTRING add constraint FKe3q9ahtxayv7xfa5h79t2ebie foreign key (MODIFYINGTEXT_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.STATEDATA_LANGUAGESTRING add constraint FKh3vnwce9g1dekeoi4u8my8a6a foreign key (MODIFYINGTEXT_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.STATEDATA_LANGUAGESTRING add constraint FKrouch0cs2o1kqaw72regcmbe1 foreign key (STATEDATA_ID) references PUBLIC.STATEDATA; alter table PUBLIC.STATEDATA_LANGUAGESTRING_AUD add constraint FK7s8c9nn7xapid66sa35952coy foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.STATISTICALMEASUREMENTVALUE add constraint FKd8qj8bw3niahb0cwg1h9y323c foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.STATISTICALMEASUREMENTVALUE add constraint FKj8fdpajmqai0vbr3jwqhl0a6a foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.STATISTICALMEASUREMENTVALUE add constraint FKk40wfeu2cvqikx1anq5dtwycq foreign key (QUANTITATIVEDATA_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.STATISTICALMEASUREMENTVALUE add constraint FKsmerdb3k5e19340h4i9p9gqko foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.STATISTICALMEASUREMENTVALUE_AUD add constraint FKbgqbx03e6mnfgwyckiikwsigg foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE add constraint FKf62ryqw6h47suyc38a7c2268w foreign key (MODIFIERS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE add constraint FK24s9nm7iosnm6rf0fshh4v4qt foreign key (STATISTICALMEASUREMENTVALUE_ID) references PUBLIC.STATISTICALMEASUREMENTVALUE; alter table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE_AUD add constraint FK1nuy7kb58y5vens8xbd5stid8 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE add constraint FKg0fweuseccpg3m9xykpg7yg87 foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONBASE add constraint FKkgxecw6k3ua9xvjtxhxjg22w6 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONBASE add constraint FKio1sgegmb448k1270ys6h7fio foreign key (NAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONBASE add constraint FKfb64jyfxe0di03m6okc3l5bso foreign key (ACCEPTEDTAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_ANNOTATION add constraint FKhod10mprpi6uhsfowir3vthjh foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TAXONBASE_ANNOTATION add constraint FKg8niyc32b4p5mv2mtfg1bya5o foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_ANNOTATION_AUD add constraint FK6tx9t3qnl4dhxpxb7nd2cepkj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_AUD add constraint FKfk0aejjh2wuid1y7d8a2c4hio foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_CREDIT add constraint FKi7i15tdiimntpitukuvfphlsy foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.TAXONBASE_CREDIT add constraint FKfr71wrj4rgljrbdi04mcx7nak foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_CREDIT_AUD add constraint FKoad04qcixfx69rb0kmnr3xyff foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_EXTENSION add constraint FKdadvetqkb80cdyoeb2ds0or0r foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.TAXONBASE_EXTENSION add constraint FKqubk4gee1h0146iv6hjjml3c0 foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_EXTENSION_AUD add constraint FKgovqjxfirvxeitiulujyq6exm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_EXTERNALLINK add constraint FKc3j5m3q0ya257dq64hwd9nfti foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.TAXONBASE_EXTERNALLINK add constraint FKk5esdbk05s6y205owubi1veub foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_EXTERNALLINK_AUD add constraint FKno2lsjeeh5f9rh3k9qij19trr foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_IDENTIFIER add constraint FKsi8fhfygr5lfmp2dtfg5rccwx foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.TAXONBASE_IDENTIFIER add constraint FKtcq6hm7r8vsks26faxrtn01kh foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_IDENTIFIER_AUD add constraint FKfctd6kjb879586anp999cqnk8 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_MARKER add constraint FKo27fuvg9uqjd3u44gw8sclnw9 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TAXONBASE_MARKER add constraint FK9fmioaxquhwmatvjxqdkot30 foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_MARKER_AUD add constraint FKoer1bt0sdtyjjbrsgocaslx8i foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE add constraint FKe6vcgb7oe3mt7bvr8ptesgm24 foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE add constraint FKnvktpy7bsyv2cer8rlbvu16v3 foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE_AUD add constraint FKnm0brhfys7l0r88itq9tj2hkw foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONBASE_RIGHTSINFO add constraint FK23x5e78tp2r38o2waxfi9gbfm foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.TAXONBASE_RIGHTSINFO add constraint FKtn2nf1enlyoxgogjirt7tw3nb foreign key (TAXONBASE_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONBASE_RIGHTSINFO_AUD add constraint FKpxf4ey5xxw6y7qh7pu8vvoepq foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING add constraint FK6u2shidpvc91ag089bhn60u9x foreign key (DESCRIPTION_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING add constraint FKktaac9r7bwku1uxh30lo53ikh foreign key (DESCRIPTION_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING add constraint FKsor7xv3u2h255t5cdaigyebx foreign key (TAXONINTERACTION_ID) references PUBLIC.DESCRIPTIONELEMENTBASE; alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING_AUD add constraint FKoo7cc7p18vnge6qap5uclg4ei foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME add constraint FKo2cwlkm537eb9wihrvw38rpua foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONNAME add constraint FKlkrsn2rawg5awi4jc3b07edbo foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONNAME add constraint FK2sjx76h0y3wqdixn18ela746u foreign key (BASIONYMAUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNAME add constraint FKd2dosvsh6ubi0ililt10athdk foreign key (COMBINATIONAUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNAME add constraint FKptpdkru82lfkn547v51jhr51x foreign key (EXBASIONYMAUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNAME add constraint FKjs5ew08b5dk3ulh1c0l6vr96v foreign key (EXCOMBINATIONAUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNAME add constraint FKhrqcvvtso894fytm250g26pt5 foreign key (HOMOTYPICALGROUP_ID) references PUBLIC.HOMOTYPICALGROUP; alter table PUBLIC.TAXONNAME add constraint FKph6jeipm0w5kp5kmdxcmr3ipu foreign key (INBASIONYMAUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNAME add constraint FKhx788pclwci5ly3drr3ldx752 foreign key (INCOMBINATIONAUTHORSHIP_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNAME add constraint FKbahuh06c80i1imdnymk5kb6ry foreign key (RANK_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TAXONNAME_ANNOTATION add constraint FK52676mptrpdlp3c1hfb161u1k foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TAXONNAME_ANNOTATION add constraint FKl6qljl6bu53xs2gajy5u1a3ec foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_ANNOTATION_AUD add constraint FKf7jb5p4p7bqb2rq3eosc4xfbk foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_AUD add constraint FK1p0uuulv1dildayhclrbbwhed foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_CREDIT add constraint FKjuewongimk28k8y119ibcqh7e foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.TAXONNAME_CREDIT add constraint FKihjn3x3b8h2tk11tpkfmhh3mv foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_CREDIT_AUD add constraint FK3bb8eocnsiryancl5lo8ohsv5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_EXTENSION add constraint FKdascshin34odi22fhscxyuv75 foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.TAXONNAME_EXTENSION add constraint FKie0mwji8vo57flnyjwqktsso3 foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_EXTENSION_AUD add constraint FK917u1k5ecr1jtlo2hfus3khsm foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_EXTERNALLINK add constraint FKfsx1qkh7ogvjy6ispynrf5erg foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.TAXONNAME_EXTERNALLINK add constraint FKflrjtyre2p4cc6eroew7a86lj foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_EXTERNALLINK_AUD add constraint FK7fnjwb6la51g69y3phxlaw434 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_IDENTIFIER add constraint FK6lqfw0i3uyw4fke98r8vbd9pg foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.TAXONNAME_IDENTIFIER add constraint FKcvb9143iucu6pc19vgiciqpxe foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_IDENTIFIER_AUD add constraint FK5v1saem2mfx9aoc7pedtapcop foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_MARKER add constraint FKcpcubgh82gu0b33odoby2gs3h foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TAXONNAME_MARKER add constraint FK6h1r291anpye1ia0ugncc2o1g foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_MARKER_AUD add constraint FKr5gxo6kqahpthg6dbpjw4c8i1 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE add constraint FKatcgkx7a4x7gvgyrc7b8jpfct foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE add constraint FKhtktfu8057714w5f4uvuvas02 foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE_AUD add constraint FK2dhsgp3nnnlfmhruqcqpkaxt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_RIGHTSINFO add constraint FKcpif7qgvvwrorw1qnk9ej8hke foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.TAXONNAME_RIGHTSINFO add constraint FKimuoyov7xskb3rxmm6uds0rh0 foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_RIGHTSINFO_AUD add constraint FKtlflrr5ss7c4st2qvvhgx9jsj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE add constraint FKq1qu4q4sjf2k0a3jq4du0q069 foreign key (TYPEDESIGNATIONS_ID) references PUBLIC.TYPEDESIGNATIONBASE; alter table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE add constraint FKb3cwqwapqfgd46x5rujbaa49t foreign key (TAXONNAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE_AUD add constraint FK4hd7nen1ggxvhpsbo6uxxb9g2 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODE add constraint FKerha5hosjn230j5tkihmlyxpu foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONNODE add constraint FKln5utuql4pv2t5qrricn8f66k foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONNODE add constraint FK8lt9bn87l429c2n4xdevmes2c foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TAXONNODE add constraint FK2tafcx24juooel6j69au9qkll foreign key (CLASSIFICATION_ID) references PUBLIC.CLASSIFICATION; alter table PUBLIC.TAXONNODE add constraint FKa54gfb7vj9xeh9o03jqp73y53 foreign key (PARENT_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.TAXONNODE add constraint FKlavpp8ifuvhyl94hhy8l2n2cj foreign key (SYNONYMTOBEUSED_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONNODE add constraint FKa16r6unujb60uuts7qfs09gtw foreign key (TAXON_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONNODE_ANNOTATION add constraint FKoing7s7mmbm4htua66ut191af foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TAXONNODE_ANNOTATION add constraint FKqi1ckpfq9v3hkg8uoqtioaunt foreign key (TAXONNODE_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.TAXONNODE_ANNOTATION_AUD add constraint FK6wuka1yh9vll2m9rruiiuvhwj foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODE_AUD add constraint FKli7tspptmab66v0bfril7s9vf foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODE_MARKER add constraint FKgv9le5gyw6pky73oo64ndmlbb foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TAXONNODE_MARKER add constraint FKqu2yt8ihh9gj7s2k3nmhe3ar0 foreign key (TAXONNODE_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.TAXONNODE_MARKER_AUD add constraint FKo4vc2tjm3swe14d0fymh3col4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODE_STATUSNOTE add constraint FKovavy9oh5rq410x24rcd6ih2x foreign key (STATUSNOTE_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.TAXONNODE_STATUSNOTE add constraint FKe0js781n46sqa0oaa5d80v8du foreign key (STATUSNOTE_KEY) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TAXONNODE_STATUSNOTE add constraint FK7m4j4u786p6m66nun0qebgpj0 foreign key (TAXONNODE_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.TAXONNODE_STATUSNOTE_AUD add constraint FKdex0umj7cyjl5i72lf3r5fad3 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODEAGENTRELATION add constraint FKef1fikaawjlpf9hdu73eyuep foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONNODEAGENTRELATION add constraint FK77n347xybbae2oi4mb7w3b5y8 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONNODEAGENTRELATION add constraint FKt5gd4wmcy4ysvbq3m5h8cqn7s foreign key (AGENT_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.TAXONNODEAGENTRELATION add constraint FK580jgjebyp8aah9fxmwt13l31 foreign key (TAXONNODE_ID) references PUBLIC.TAXONNODE; alter table PUBLIC.TAXONNODEAGENTRELATION add constraint FK17pkw6d981xl3emmguic5qqk3 foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION add constraint FKhv4gwa3xbu5x7xf292luf1lio foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION add constraint FKcyd4qaguogw0bp6yyql5iyo6l foreign key (TAXONNODEAGENTRELATION_ID) references PUBLIC.TAXONNODEAGENTRELATION; alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION_AUD add constraint FKeocr9locq094dihp4qrl1ly68 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODEAGENTRELATION_AUD add constraint FKnxlk8kreg8hk51iw5ca6d3lbr foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER add constraint FKjiqjcenantaw8qrjefkww1h foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER add constraint FK3wl5v5oet5jptfy9kjxahy19o foreign key (TAXONNODEAGENTRELATION_ID) references PUBLIC.TAXONNODEAGENTRELATION; alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER_AUD add constraint FKf0j7wms8n1aqtxvplvjr5m3ua foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONOMICOPERATION add constraint FK7t5emk9v22g8e48eb53920xqe foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONOMICOPERATION add constraint FK5h0w03w9mce22o3npqn5r8om7 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONOMICOPERATION_AUD add constraint FKe602ow73x3ftc48iocl2nowwd foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONRELATIONSHIP add constraint FK9lcbgeeg39b3ra1mp48aj1m7q foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONRELATIONSHIP add constraint FKp91k2k1q2mp0cdim9j5imy26g foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TAXONRELATIONSHIP add constraint FK9mc1pfc3587nqat1nfoor21ua foreign key (SOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TAXONRELATIONSHIP add constraint FKmw9m4goc8l3cuon5xhko7c448 foreign key (OPERATION_ID) references PUBLIC.TAXONOMICOPERATION; alter table PUBLIC.TAXONRELATIONSHIP add constraint FKnoga7ndd8m7xpddgy9cxevm7e foreign key (RELATEDFROM_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONRELATIONSHIP add constraint FK5ttsw6ejmqrgse9dhhfe6gp82 foreign key (RELATEDTO_ID) references PUBLIC.TAXONBASE; alter table PUBLIC.TAXONRELATIONSHIP add constraint FKu5pbdlkoyn92vprgxk7pvtid foreign key (TYPE_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION add constraint FK5ur14pxj5lutdb4ccblbb12f1 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION add constraint FKeeynjf8nv8a8pm7xmnd56b4ei foreign key (TAXONRELATIONSHIP_ID) references PUBLIC.TAXONRELATIONSHIP; alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION_AUD add constraint FKhljqn5feduxqm2jd2dkg81eq3 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONRELATIONSHIP_AUD add constraint FK99rbmf513ul16r1pm96qwiaj4 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TAXONRELATIONSHIP_MARKER add constraint FK5tpugbwegk1ye1mue1tn73efm foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TAXONRELATIONSHIP_MARKER add constraint FKti548r926x8gk9nrd8h0ljk7v foreign key (TAXONRELATIONSHIP_ID) references PUBLIC.TAXONRELATIONSHIP; alter table PUBLIC.TAXONRELATIONSHIP_MARKER_AUD add constraint FK49oydavfpd2r7mxvi9lux6wp5 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION add constraint FK97e33exwkh4yj3ti30wxo7jlh foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TERMCOLLECTION add constraint FKar1q94uqiixepd4dpj6685tg5 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TERMCOLLECTION add constraint FKhlfosc4qbn5iwx63x34v03pbq foreign key (ROOT_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.TERMCOLLECTION_ANNOTATION add constraint FK18xce2uqfews7q436xni4ned4 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TERMCOLLECTION_ANNOTATION add constraint FKcjr9uri91h3k1r44v3uvaswcy foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_ANNOTATION_AUD add constraint FK4mgiqitsu6gb4sofau2gua8n foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_AUD add constraint FK5l0eeogy8faea1qvvalln729b foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_CREDIT add constraint FKncuuqwngtc0bu15vbwnh5t09j foreign key (CREDITS_ID) references PUBLIC.CREDIT; alter table PUBLIC.TERMCOLLECTION_CREDIT add constraint FK85an6abcb2i7eenflarrh4pfg foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_CREDIT_AUD add constraint FKq0vnlp0myngv1j9grtt45i42f foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_EXTENSION add constraint FK10sfxgsyyu0smlyvqkhfg64qy foreign key (EXTENSIONS_ID) references PUBLIC.EXTENSION; alter table PUBLIC.TERMCOLLECTION_EXTENSION add constraint FKf8gmby7pr8l391l66ocueng23 foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_EXTENSION_AUD add constraint FK12ccxp2smxo0pav8i0cryipji foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK add constraint FKjl7oj9hovq9yc1xeoav3ulcf2 foreign key (LINKS_ID) references PUBLIC.EXTERNALLINK; alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK add constraint FKly5ccvbyxa5a0j7dl507grabr foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK_AUD add constraint FKjo40va6qmkcxtcpialy945o5o foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_IDENTIFIER add constraint FK4p693y73ibkn9s5do28cfwvyv foreign key (IDENTIFIERS_ID) references PUBLIC.IDENTIFIER; alter table PUBLIC.TERMCOLLECTION_IDENTIFIER add constraint FK8sbnyw6h30xybymoiq6brox6v foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_IDENTIFIER_AUD add constraint FKlgp64os2odilsh3w0il578983 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_MARKER add constraint FKn8dome1s5h2omrngh9a1oc0wc foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TERMCOLLECTION_MARKER add constraint FKnw6sqeco5apvycjutg9at3teh foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_MARKER_AUD add constraint FKox25hon1grdqgj23pco7d96l2 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE add constraint FKdb3r48nip68vynyj2sdgenqd0 foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE add constraint FK4si4737c4rd0ub6hcfsnie2xn foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE_AUD add constraint FKnylitqbywcxjdxk6uw5jjlwpu foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_REPRESENTATION add constraint FK1cnqt8ba1c1qj17pyy1ig7old foreign key (REPRESENTATIONS_ID) references PUBLIC.REPRESENTATION; alter table PUBLIC.TERMCOLLECTION_REPRESENTATION add constraint FK2bej1mhf7emhhjajvjnfiwnim foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_REPRESENTATION_AUD add constraint FK1o5steg7skx2dcnbny3frn5ib foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMCOLLECTION_RIGHTSINFO add constraint FK4tlx5e1qjprdlhf69agbsii1e foreign key (RIGHTS_ID) references PUBLIC.RIGHTSINFO; alter table PUBLIC.TERMCOLLECTION_RIGHTSINFO add constraint FKb09oix3gohi42pwtogmvq2gq9 foreign key (TERMCOLLECTION_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMCOLLECTION_RIGHTSINFO_AUD add constraint FK6d0xl73rl7gfetrdihg6ykq3g foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMNODE_INAPPLICABLEIF add constraint FKk926lwlecqu82nfii1kux07ls foreign key (INAPPLICABLEIF_ID) references PUBLIC.FEATURESTATE; alter table PUBLIC.TERMNODE_INAPPLICABLEIF add constraint FK5pijaxqbenw47sk94yds6fvln foreign key (TERMNODE_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.TERMNODE_INAPPLICABLEIF_AUD add constraint FKkgabqs7s6y6d9fbfijobfd004 foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF add constraint FKpu12b742pc943720dxgh0q7bd foreign key (ONLYAPPLICABLEIF_ID) references PUBLIC.FEATURESTATE; alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF add constraint FK4c3b7m2dexnqroneboxk8mnn foreign key (TERMNODE_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF_AUD add constraint FK1xxc8b81qlk0vcmktehqpc1mc foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TERMRELATION add constraint FKof5gnj4niqhndncr7446lmpwe foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TERMRELATION add constraint FKp2ywxy4n5p2h7q2625hd3h1p5 foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TERMRELATION add constraint FKncmm6nd1x2hm9tb65aw5n84vv foreign key (GRAPH_ID) references PUBLIC.TERMCOLLECTION; alter table PUBLIC.TERMRELATION add constraint FKqp1vgstvurnu0cocnjhhgl4bh foreign key (TERM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TERMRELATION add constraint FKnaek3br7nx8hd04ktkp4hqw0y foreign key (PARENT_ID) references PUBLIC.TERMRELATION; alter table PUBLIC.TERMRELATION add constraint FK9abvp9k9phwwtyote6ephee2b foreign key (TOTERM_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TERMRELATION_AUD add constraint FK4m0v36codf3xi3dbbvd0hs92f foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TYPEDESIGNATIONBASE add constraint FK7o2nhy36rtahs5god0n72r25q foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TYPEDESIGNATIONBASE add constraint FKl734949swou8f4ilj0um66fpu foreign key (UPDATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.TYPEDESIGNATIONBASE add constraint FK2oom0tmb2aijdfecsbbso4t1o foreign key (DESIGNATIONSOURCE_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TYPEDESIGNATIONBASE add constraint FK83ne5t2bwqsr3wl4numc9an78 foreign key (TYPESTATUS_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TYPEDESIGNATIONBASE add constraint FKaeubjria7oj98vrtwagxx48w6 foreign key (TYPENAME_ID) references PUBLIC.TAXONNAME; alter table PUBLIC.TYPEDESIGNATIONBASE add constraint FKcjj8pi2psmgcwyutqeguut09j foreign key (TYPESPECIMEN_ID) references PUBLIC.SPECIMENOROBSERVATIONBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION add constraint FKm0ssp16eb0voj54vc5g9c3li9 foreign key (ANNOTATIONS_ID) references PUBLIC.ANNOTATION; alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION add constraint FKplpt8n2wx70gvrykyfcb1eqcu foreign key (TYPEDESIGNATIONBASE_ID) references PUBLIC.TYPEDESIGNATIONBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION_AUD add constraint FK1ntwdaehw74l312ylk9iwjyjt foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TYPEDESIGNATIONBASE_AUD add constraint FK850v6u6phk3wm3bicanmh1rpf foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING add constraint FK23bib7ady0asgiirenboidnh2 foreign key (TEXT_ID) references PUBLIC.LANGUAGESTRING; alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING add constraint FK6hvbbon7qx7feg6qysdyx4vcr foreign key (TEXT_MAPKEY_ID) references PUBLIC.DEFINEDTERMBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING add constraint FK9xpwcknyrdro1ydr63iydkwxe foreign key (TEXTUALTYPEDESIGNATION_ID) references PUBLIC.TYPEDESIGNATIONBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING_AUD add constraint FK8lw7o4qugploisxhhbjd79dti foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER add constraint FK4bqdum5okm8836sd6ubn7jto8 foreign key (MARKERS_ID) references PUBLIC.MARKER; alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER add constraint FK5nygmnt1ukf250ds4b3umayt1 foreign key (TYPEDESIGNATIONBASE_ID) references PUBLIC.TYPEDESIGNATIONBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER_AUD add constraint FKahmbmaucvx86oqbvdn47j5y8x foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE add constraint FKjko1s1g3dc3h5ocyjy2ewt01s foreign key (SOURCES_ID) references PUBLIC.ORIGINALSOURCEBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE add constraint FKso4pji9nd708uhqm378e68gai foreign key (TYPEDESIGNATIONBASE_ID) references PUBLIC.TYPEDESIGNATIONBASE; alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE_AUD add constraint FKinjyk3gvg7yfg7shyw438pogp foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.USERACCOUNT add constraint FKa9kl5663hcb171ogijeske56e foreign key (CREATEDBY_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.USERACCOUNT add constraint FKamgljgn6mrhquydc8fiega4n6 foreign key (PERSON_ID) references PUBLIC.AGENTBASE; alter table PUBLIC.USERACCOUNT_AUD add constraint FKpcwm0805ykgp022g8yqpl1mpb foreign key (REV) references PUBLIC.AUDITEVENT; alter table PUBLIC.USERACCOUNT_AUTHORITY add constraint FKrr6d7vgu0nwtvqvb9kqm5ictx foreign key (AUTHORITIES_ID) references PUBLIC.AUTHORITY; alter table PUBLIC.USERACCOUNT_AUTHORITY add constraint FK6ea6hnk3xblhovqxg0lni8ofy foreign key (USER_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.USERACCOUNT_GRANTEDAUTHORITYIMPL add constraint FK88rbwk94bejyp4b3wews8s70k foreign key (GRANTEDAUTHORITIES_ID) references PUBLIC.GRANTEDAUTHORITYIMPL; alter table PUBLIC.USERACCOUNT_GRANTEDAUTHORITYIMPL add constraint FKp8cb178idv7eu1pdso1k7ns49 foreign key (USER_ID) references PUBLIC.USERACCOUNT; alter table PUBLIC.USERACCOUNT_PERMISSIONGROUP add constraint FKbjxmb9i1hclgew01kqugtj711 foreign key (GROUPS_ID) references PUBLIC.PERMISSIONGROUP; alter table PUBLIC.USERACCOUNT_PERMISSIONGROUP add constraint FKlt42h4kqm2ekw8y41980phxbx foreign key (MEMBERS_ID) references PUBLIC.USERACCOUNT;