create table FEINDEX_MSG (ID integer not null, FR_ID integer, REVIEW_ID integer not null, primary key (ID));

create index idx_femsg_filerevision on FEINDEX_MSG (FR_ID);
create index idx_femsg_review on FEINDEX_MSG (REVIEW_ID);
alter table FEINDEX_MSG add constraint FK45E4075E71841CE foreign key (REVIEW_ID) references REVIEW;
alter table FEINDEX_MSG add constraint FK45E4075EE7606F9 foreign key (FR_ID) references REVISION;

UPDATE CRUVERSION SET version = 20 WHERE version_id = 1;
