Skip to content
Snippets Groups Projects
Commit 91db316c authored by Zoltan Mathe's avatar Zoltan Mathe
Browse files

schama changed|

parent 1396fa49
No related branches found
No related tags found
No related merge requests found
......@@ -121,13 +121,16 @@ alter table jobs ADD CONSTRAINT FK_Prodcont_prod FOREIGN KEY(production) REFEREN
ALTER TABLE jobs ADD HLT2TCK varchar2(20);
DROP TABLE productionoutputfiles CASCADE constraints;
create table productionoutputfiles(
Production NUMBER,
stepid number,
eventtypeid number,
filetype varchar2(256),
visible char(1) default 'Y',
CONSTRAINT PK_productionoutputfiles_p PRIMARY KEY (Production, stepid, filetype),
CONSTRAINT PK_productionoutputfiles_p PRIMARY KEY (Production, stepid, eventtypeid),
CONSTRAINT FK_productionoutputfiles_steps FOREIGN KEY (stepid) REFERENCES steps(stepid),
CONSTRAINT FK_productionoutputfiles_steps FOREIGN KEY (eventtypeid) REFERENCES eventtypes(eventtypeid),
CONSTRAINT FK_productionoutputfiles_prod FOREIGN KEY (production) REFERENCES productionscontainer(production) ON DELETE CASCADE ENABLE);
grant select on productionoutputfiles to LHCB_DIRACBOOKKEEPING_USERS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment