-- DropForeignKey
ALTER TABLE "remove_buyer_access_request" DROP CONSTRAINT "remove_buyer_access_request_requestId_fkey";

-- DropForeignKey
ALTER TABLE "remove_buyer_access_request_entity" DROP CONSTRAINT "remove_buyer_access_request_entity_removeBuyerAccessReques_fkey";

-- AddForeignKey
ALTER TABLE "remove_buyer_access_request" ADD CONSTRAINT "remove_buyer_access_request_requestId_fkey" FOREIGN KEY ("requestId") REFERENCES "request"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "remove_buyer_access_request_entity" ADD CONSTRAINT "remove_buyer_access_request_entity_removeBuyerAccessReques_fkey" FOREIGN KEY ("removeBuyerAccessRequestId") REFERENCES "remove_buyer_access_request"("id") ON DELETE CASCADE ON UPDATE CASCADE;
