Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
Harbor 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
3aa3fafe
Commit
3aa3fafe
authored
3 years ago
by
Jorge Camarero Vera
Browse files
Options
Downloads
Patches
Plain Diff
Add Drive_State_Pointer
parent
c0bfcbef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
catalogue/common_catalogue_schema.sql
+13
-0
13 additions, 0 deletions
catalogue/common_catalogue_schema.sql
with
13 additions
and
0 deletions
catalogue/common_catalogue_schema.sql
+
13
−
0
View file @
3aa3fafe
...
...
@@ -390,3 +390,16 @@ CREATE TABLE DRIVE_STATE (
CONSTRAINT
DRIVE_STATE_DU_BOOL_CK
CHECK
(
DESIRED_UP
IN
(
'0'
,
'1'
)),
CONSTRAINT
DRIVE_STATE_DFD_BOOL_CK
CHECK
(
DESIRED_FORCE_DOWN
IN
(
'0'
,
'1'
))
);
CREATE
TABLE
DRIVE_STATE_POINTER
(
DRIVE_NAME
VARCHAR
(
100
)
CONSTRAINT
DRIVE_STATE_POINTER_DN_NN
NOT
NULL
,
DRIVE_STATE_ADDRESS
VARCHAR
(
100
)
CONSTRAINT
DRIVE_STATE_POINTER_DSA_NN
NOT
NULL
,
USER_COMMENT
VARCHAR
(
1000
)
CONSTRAINT
DRIVE_STATE_POINTER_UC_NN
NOT
NULL
,
CREATION_LOG_USER_NAME
VARCHAR
(
100
)
CONSTRAINT
DRIVE_STATE_POINTER_CLUN_NN
NOT
NULL
,
CREATION_LOG_HOST_NAME
VARCHAR
(
100
)
CONSTRAINT
DRIVE_STATE_POINTER_CLHN_NN
NOT
NULL
,
CREATION_LOG_TIME
UINT64TYPE
CONSTRAINT
DRIVE_STATE_POINTER_CLT_NN
NOT
NULL
,
LAST_UPDATE_USER_NAME
VARCHAR
(
100
)
CONSTRAINT
DRIVE_STATE_POINTER_LUUN_NN
NOT
NULL
,
LAST_UPDATE_HOST_NAME
VARCHAR
(
100
)
CONSTRAINT
DRIVE_STATE_POINTER_LUHN_NN
NOT
NULL
,
LAST_UPDATE_TIME
UINT64TYPE
CONSTRAINT
DRIVE_STATE_POINTER_LUT_NN
NOT
NULL
,
CONSTRAINT
DRIVE_STATE_POINTER_DSA_PK
PRIMARY
KEY
(
DRIVE_STATE_ADDRESS
)
);
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