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
14 changed files
with
5,502 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* Changes to create a modern version of the Activity */ | ||
|
||
COMMENT ON COLUMN activity.duration | ||
IS 'DEPRECATED - use activity_duration to document the time taken to perform the activity.'; | ||
COMMENT ON COLUMN activity.data_usage | ||
IS 'DEPRECATED - A description of the way in which input data were used for this activity.'; | ||
COMMENT ON COLUMN activity.notes | ||
IS 'DEPRECATED - Other information about this activity which might be useful for traceability or reproducability.'; | ||
|
||
COMMENT ON COLUMN activity.output_artifacts | ||
IS 'Deprecated outside of NCO assessment activities. The final output filenames from the process.'; | ||
|
||
COMMENT ON COLUMN activity.methodology | ||
IS 'The process of creating the resulting object from the input, in the author’s own words and in such a way that another expert partycould reproduce the output.'; | ||
COMMENT ON COLUMN activity.visualization_software | ||
IS 'Primary visualization software (with version) used.'; | ||
|
||
COMMENT ON COLUMN activity.start_time | ||
IS 'Time bounds used to restrict the input object. Optional, depending on applicability. If equal to end_time, indicates a temporal moment.'; | ||
COMMENT ON COLUMN activity.end_time | ||
IS 'Time bounds used to restrict the input object. Optional, depending on applicability. If equal to start_time, indicates a temporal moment.'; |
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,30 @@ | ||
/* New activity fields */ | ||
|
||
ALTER table activity ADD COLUMN activity_duration interval; | ||
ALTER table activity ADD COLUMN source_access_date date; | ||
ALTER table activity ADD COLUMN interim_artifacts text; | ||
ALTER table activity ADD COLUMN source_modifications text; | ||
ALTER table activity ADD COLUMN modified_source_location text; | ||
ALTER table activity ADD COLUMN visualization_methodology text; | ||
ALTER table activity ADD COLUMN methodology_citation text; | ||
ALTER table activity ADD COLUMN methodology_contact text; | ||
ALTER table activity ADD COLUMN database_variables text; | ||
|
||
COMMENT ON COLUMN activity.activity_duration | ||
IS 'Captures the time taken in the process to get from the source object to the final one.'; | ||
COMMENT ON COLUMN activity.source_access_date | ||
IS 'The date the parent resource was accessed.'; | ||
COMMENT ON COLUMN activity.interim_artifacts | ||
IS 'Deprecated outside of NCO assessment activities. The names of files created along the way to create the final product.'; | ||
COMMENT ON COLUMN activity.source_modifications | ||
IS 'A written description of modifications done to the source object.'; | ||
COMMENT ON COLUMN activity.modified_source_location | ||
IS 'The location of the modified source, if available.'; | ||
COMMENT ON COLUMN activity.visualization_methodology | ||
IS 'The process of creating the visual portion of the output object, if any and if distinguished from the main methodology.'; | ||
COMMENT ON COLUMN activity.methodology_citation | ||
IS 'The citation to the methodology, if it has been published.'; | ||
COMMENT ON COLUMN activity.methodology_contact | ||
IS 'The point of contact for the methodology, if any.'; | ||
COMMENT ON COLUMN activity.database_variables | ||
IS 'A list of Dataset Variables applied in this activity.'; |
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,4 @@ | ||
/* New activity field */ | ||
|
||
ALTER TABLE activity ADD COLUMN spatial_extent json; | ||
COMMENT ON COLUMN activity.spatial_extent IS 'Spatial bounds used to restrict the input object. GeoJSON. Optional, depending on applicability.'; |
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
Oops, something went wrong.