-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
170 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
modules/indicia_setup/db/version_1_58_0/201803261544_attr_dwc.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
ALTER TABLE survey_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN survey_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN survey_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; | ||
|
||
ALTER TABLE sample_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN sample_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN sample_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; | ||
|
||
ALTER TABLE occurrence_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN occurrence_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN occurrence_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; | ||
|
||
ALTER TABLE location_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN location_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN location_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; | ||
|
||
ALTER TABLE taxa_taxon_list_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN taxa_taxon_list_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN taxa_taxon_list_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; | ||
|
||
ALTER TABLE termlists_term_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN termlists_term_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN termlists_term_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; | ||
|
||
ALTER TABLE person_attributes | ||
ADD COLUMN term_name character varying, | ||
ADD COLUMN term_identifier character varying; | ||
COMMENT ON COLUMN person_attributes.term_name | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term name. Otherwise ' | ||
'provide a brief alphanumeric only (with no spaces) version of the attribute name to give it a unique identifier ' | ||
'within the context of the survey dataset to make it easier to refer to in configuration.'; | ||
COMMENT ON COLUMN person_attributes.term_identifier | ||
IS 'If the attribute is linked to a standardised glossary such as Darwin Core then provide the term identifier, ' | ||
'typically the URL to the term definition.'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters