-- ABS-49838
---------- CLEANROOMBATCHCOUNTCONTENT --------------
ALTER TABLE CLEANROOMBATCHCOUNTCONTENT DROP CONSTRAINT CRBATCHCOUNTCONTENT_DELVAR;

ALTER TABLE CLEANROOMBATCHCOUNTCONTENT ADD CONSTRAINT CRBATCHCOUNTCONTENT_DELVAR FOREIGN KEY (DELIVERYVARIATION_ID)
REFERENCES DELIVERYVARIATIONS (DELIVERYVARIATIONS_ID) ON DELETE SET NULL;


---------- PACKINGNOTE --------------
ALTER TABLE PACKINGNOTE DROP CONSTRAINT PACKINGNOTE_BULKPACKINGNOTE_ID;

ALTER TABLE PACKINGNOTE ADD CONSTRAINT PACKINGNOTE_BULKPACKINGNOTE_ID FOREIGN KEY (BULKPACKINGNOTE_ID)
REFERENCES PACKINGNOTE (PACKINGNOTE_ID) ON DELETE SET NULL;
