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
4bd08301
Commit
4bd08301
authored
7 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added constraint ARCHIVE_FILE_DIN_DFI_UN to CTA catalogue database
parent
20544552
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
catalogue/catalogue_common_schema.sql
+2
-1
2 additions, 1 deletion
catalogue/catalogue_common_schema.sql
with
2 additions
and
1 deletion
catalogue/catalogue_common_schema.sql
+
2
−
1
View file @
4bd08301
...
...
@@ -175,7 +175,8 @@ CREATE TABLE ARCHIVE_FILE(
RECONCILIATION_TIME
INTEGER
CONSTRAINT
ARCHIVE_FILE_RT_NN
NOT
NULL
,
CONSTRAINT
ARCHIVE_FILE_PK
PRIMARY
KEY
(
ARCHIVE_FILE_ID
),
CONSTRAINT
ARCHIVE_FILE_STORAGE_CLASS_FK
FOREIGN
KEY
(
DISK_INSTANCE_NAME
,
STORAGE_CLASS_NAME
)
REFERENCES
STORAGE_CLASS
(
DISK_INSTANCE_NAME
,
STORAGE_CLASS_NAME
)
REFERENCES
STORAGE_CLASS
(
DISK_INSTANCE_NAME
,
STORAGE_CLASS_NAME
),
CONSTRAINT
ARCHIVE_FILE_DIN_DFI_UN
UNIQUE
(
DISK_INSTANCE_NAME
,
DISK_FILE_ID
)
);
CREATE
INDEX
ARCHIVE_FILE_DIN_DFP_IDX
ON
ARCHIVE_FILE
(
DISK_INSTANCE_NAME
,
DISK_FILE_PATH
);
CREATE
TABLE
TAPE_FILE
(
...
...
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