Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
6bddb4c4
Commit
6bddb4c4
authored
Aug 19, 2014
by
Sebastien Ponce
Browse files
Readded foreign key constraint FK_DrainingErrors_DJ lost by mistake
parent
6fc50445
Changes
2
Hide whitespace changes
Inline
Side-by-side
castor/db/oracleCommon.schema.sql
View file @
6bddb4c4
...
...
@@ -1220,6 +1220,11 @@ ENABLE ROW MOVEMENT;
CREATE
INDEX
I_DrainingErrors_DJ_CF
ON
DrainingErrors
(
drainingJob
,
CastorFile
);
ALTER
TABLE
DrainingErrors
ADD
CONSTRAINT
FK_DrainingErrors_DJ
FOREIGN
KEY
(
drainingJob
)
REFERENCES
DrainingJob
(
id
);
ALTER
TABLE
DrainingErrors
ADD
CONSTRAINT
FK_DrainingErrors_CastorFile
FOREIGN
KEY
(
castorFile
)
...
...
castor/db/stager_oracle_create.sql
View file @
6bddb4c4
...
...
@@ -1938,6 +1938,11 @@ ENABLE ROW MOVEMENT;
CREATE INDEX I_DrainingErrors_DJ_CF ON DrainingErrors (drainingJob, CastorFile);
ALTER TABLE DrainingErrors
ADD CONSTRAINT FK_DrainingErrors_DJ
FOREIGN KEY (drainingJob)
REFERENCES DrainingJob (id);
ALTER TABLE DrainingErrors
ADD CONSTRAINT FK_DrainingErrors_CastorFile
FOREIGN KEY (castorFile)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment