Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TOAR-II FastAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
toar-data
TOAR-II FastAPI
Commits
e834cc26
You need to sign in or sign up before continuing.
Commit
e834cc26
authored
4 years ago
by
Sabine Schröder
Browse files
Options
Downloads
Patches
Plain Diff
#17
: added controlled vocabulary for changelog tables
parent
0a0b88e3
No related branches found
No related tags found
No related merge requests found
Pipeline
#46990
passed
4 years ago
Stage: deploy
Stage: pages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql
+23
-0
23 additions, 0 deletions
...rolled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql
with
23 additions
and
0 deletions
extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql
+
23
−
0
View file @
e834cc26
...
...
@@ -69,6 +69,29 @@ INSERT INTO OK_vocabulary (enum_val, enum_str, enum_display_str) VALUES
(
6
,
'Individual'
,
'individual'
),
(
7
,
'Other'
,
'other'
);
-- Changelogs
-- ==========
-- Type of Change
CREATE
TABLE
IF
NOT
EXISTS
CL_vocabulary
(
enum_val
INT
NOT
NULL
,
enum_str
character
varying
(
128
)
NOT
NULL
,
enum_display_str
character
varying
(
128
)
NOT
NULL
,
PRIMARY
KEY
(
enum_val
,
enum_str
),
CONSTRAINT
cl_enum_val_unique
UNIQUE
(
enum_val
)
);
INSERT
INTO
CL_vocabulary
(
enum_val
,
enum_str
,
enum_display_str
)
VALUES
(
0
,
'Created'
,
'created'
),
(
1
,
'SingleValue'
,
'single value correction in metadata'
),
(
2
,
'Comprehensive'
,
'comprehensive metadata revision'
),
(
3
,
'Typo'
,
'typographic correction of metadata'
),
(
4
,
'UnspecifiedData'
,
'unspecified data value corrections'
),
(
5
,
'Replaced'
,
'replaced data with a new version'
),
(
6
,
'Flagging'
,
'data value flagging'
);
-- Timeseries
-- ==========
...
...
This diff is collapsed.
Click to expand it.
Sabine Schröder
@schroeder5
mentioned in issue
#17 (closed)
·
4 years ago
mentioned in issue
#17 (closed)
mentioned in issue #17
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment