ALTER TABLE AKUZ.T_CDA_DOCUMENT_PROTOCOLEXTRACT DROP CONSTRAINT IF EXISTS FK_T_REK_EXPERTISE_T_CDA_DOCUMENT_PROTOCOLEXTRACT_RekEvent;
ALTER TABLE AKUZ.T_CDA_DOCUMENT_PROTOCOLEXTRACT DROP COLUMN IF EXISTS "rekevent";

ALTER TABLE AKUZ.T_CDA_DOCUMENT_PROTOCOLEXTRACT ADD "rekexpertise" uuid NULL;
ALTER TABLE AKUZ.T_CDA_DOCUMENT_PROTOCOLEXTRACT ADD CONSTRAINT FK_T_REK_EXPERTISE_T_CDA_DOCUMENT_PROTOCOLEXTRACT_RekExpertise
FOREIGN KEY("rekexpertise") REFERENCES AKUZ.T_REK_EXPERTISE (RekExpertiseID);
