Commit 6bddb4c4 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Readded foreign key constraint FK_DrainingErrors_DJ lost by mistake

parent 6fc50445
......@@ -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)
......
......@@ -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)
......
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