--ABS-10560
ALTER TABLE STOCKROOMOOSACTIONS
  DROP CONSTRAINT STOCKROOMOOSA_STOCK_ID;
ALTER TABLE STOCKROOMOOSACTIONS
  ADD CONSTRAINT STOCKROOMOOSA_STOCK_ID FOREIGN KEY (STOCKROOM_ID)
  REFERENCES STOCKROOM (STOCKROOM_ID) ON DELETE CASCADE;