Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-file-catalog
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VOSpace INAF
vospace-file-catalog
Commits
6af5b720
Commit
6af5b720
authored
4 years ago
by
Nicola Fulvio Calabria
Browse files
Options
Downloads
Patches
Plain Diff
Transformed UWS direction to VARCHAR
parent
51d15bc0
No related branches found
No related tags found
No related merge requests found
Pipeline
#1699
passed
4 years ago
Stage: dockerize
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
06-uws.sql
+3
-2
3 additions, 2 deletions
06-uws.sql
with
3 additions
and
2 deletions
06-uws.sql
+
3
−
2
View file @
6af5b720
CREATE
TYPE
JobPhaseEnum
AS
ENUM
(
'PENDING'
,
'QUEUED'
,
'EXECUTING'
,
'ABORTED'
,
'COMPLETED'
,
'HELD'
,
'SUSPENDED'
,
'ERROR'
,
'ARCHIVED'
);
CREATE
TYPE
JobPhaseEnum
AS
ENUM
(
'PENDING'
,
'QUEUED'
,
'EXECUTING'
,
'ABORTED'
,
'COMPLETED'
,
'HELD'
,
'SUSPENDED'
,
'ERROR'
,
'ARCHIVED'
);
CREATE
TYPE
JobTypeEnum
AS
ENUM
(
'pushToVoSpace'
,
'pullToVoSpace'
,
'pullFromVoSpace'
,
'pushFromVoSpace'
,
'moveNode'
,
'copyNode'
,
'other'
);
--
CREATE TYPE JobTypeEnum AS ENUM ('pushToVoSpace', 'pullToVoSpace', 'pullFromVoSpace', 'pushFromVoSpace', 'moveNode', 'copyNode', 'other');
CREATE
TYPE
ErrorType
AS
ENUM
(
'transient'
,
'fatal'
);
CREATE
TYPE
ErrorType
AS
ENUM
(
'transient'
,
'fatal'
);
CREATE
TABLE
job
(
CREATE
TABLE
job
(
job_id
varchar
not
null
,
job_id
varchar
not
null
,
owner_id
varchar
not
null
,
owner_id
varchar
not
null
,
job_type
JobTypeEnum
not
null
,
-- job_type JobTypeEnum not null,
job_type
varchar
not
null
,
phase
JobPhaseEnum
not
null
,
phase
JobPhaseEnum
not
null
,
start_time
timestamp
,
start_time
timestamp
,
end_time
timestamp
,
end_time
timestamp
,
...
...
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