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
0480a6bd
Commit
0480a6bd
authored
4 years ago
by
Sabine Schröder
Browse files
Options
Downloads
Patches
Plain Diff
#3
: forgot to upload update script for interim version 0.2.5
parent
2259e3fb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#50551
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/toar_controlled_vocabulary--0.2--0.2.5.sql
+29
-0
29 additions, 0 deletions
...led_vocabulary/toar_controlled_vocabulary--0.2--0.2.5.sql
with
29 additions
and
0 deletions
extension/toar_controlled_vocabulary/toar_controlled_vocabulary--0.2--0.2.5.sql
0 → 100644
+
29
−
0
View file @
0480a6bd
--
-- toardb/extension/toar_controlled_vocabulary/toar_controlled_vocabulary--0.2.5.sql
--
-- [Step to install]
--
-- 1.
--
-- INSTALL VERSION: '0.2.5'
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\
echo
Use
"CREATE EXTENSION toar_controlled_vocabulary"
to
load
this
file
.
\
quit
-- Annotation
-- ==========
-- Kind of Annotation
CREATE
TABLE
IF
NOT
EXISTS
AK_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
ak_enum_val_unique
UNIQUE
(
enum_val
)
;
INSERT
INTO
AK_vocabulary
(
enum_val
,
enum_str
,
enum_display_str
)
VALUES
(
0
,
'User'
,
'user comment'
),
(
1
,
'Provider'
,
'provider comment'
);
This diff is collapsed.
Click to expand it.
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