ALTER TABLE IF EXISTS public."WorkflowAdditionalCondition" DROP CONSTRAINT IF EXISTS "FK_WorkflowAdditionalCondition_WorkflowStatusMatrix";

ALTER TABLE IF EXISTS public."WorkflowAdditionalCondition"
    ADD CONSTRAINT "FK_WorkflowAdditionalCondition_WorkflowStatusMatrix" FOREIGN KEY ("WorkflowStatusMatrixId")
    REFERENCES public."WorkflowStatusMatrix" ("Id") MATCH SIMPLE
    ON UPDATE NO ACTION
    ON DELETE CASCADE;
