Commit 7fe1f600 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Readded foreign key constraint FK_DrainingErrors_DJ lost by mistake

Conflicts:
	castor/db/stager_oracle_create.sql
parent f4d12478
......@@ -1291,6 +1291,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)
......
......@@ -1996,9 +1996,9 @@ ALTER TABLE DrainingErrors
REFERENCES DrainingJob (id);
 
ALTER TABLE DrainingErrors
ADD CONSTRAINT FK_DrainingErrors_DC
FOREIGN KEY (diskCopy)
REFERENCES DiskCopy (id);
ADD CONSTRAINT FK_DrainingErrors_CastorFile
FOREIGN KEY (castorFile)
REFERENCES CastorFile (id);
 
 
/* Definition of the Disk2DiskCopyJob table. Each line is a disk2diskCopy job to process
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment