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

use the productionoutputfiles table for storing the event types

parent adc71d8b
No related branches found
No related tags found
No related merge requests found
......@@ -121,9 +121,6 @@ alter table jobs ADD CONSTRAINT FK_Prodcont_prod FOREIGN KEY(production) REFEREN
ALTER TABLE jobs ADD HLT2TCK varchar2(20);
alter table stepscontainer add eventtypeid number;
alter table stepscontainer add constraint fk_stepscontainer_eventtypeid FOREIGN KEY (eventtypeid) references eventtypes(eventtypeid);
create table productionoutputfiles(
Production NUMBER,
stepid number,
......@@ -137,4 +134,8 @@ grant select on productionoutputfiles to LHCB_DIRACBOOKKEEPING_USERS;
grant select,insert,update on productionoutputfiles to LHCB_DIRACBOOKKEEPING_SERVER;
CREATE SYNONYM productionoutputfiles FOR LHCB_DIRACBOOKKEEPING.productionoutputfiles;
alter table productionoutputfiles add eventtypeid number;
alter table productionoutputfiles add constraint fk_prodoutput_eventtypeid FOREIGN KEY (eventtypeid) references eventtypes(eventtypeid);
ALTER TABLE stepscontainer DROP CONSTRAINT FK_STEPSCONTAINER_EVENTTYPEID;
ALTER TABLE stepscontainer DROP column eventtypeid;
\ No newline at end of file
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