-- ABS-46821/ ABS-48087

ALTER TABLE DIALOGFLEXFIELDS
  DROP CONSTRAINT DLGFLEXFIELDS_CHARAC_ID;
  
ALTER TABLE DIALOGFLEXFIELDS
  ADD CONSTRAINT DLGFLEXFIELDS_CHARAC_ID FOREIGN KEY (CHARACTERISTIC_ID)
  REFERENCES CHARACTERISTIC (CHARACTERISTIC_ID) ON DELETE CASCADE;