-- DropForeignKey
ALTER TABLE "Opportunity" DROP CONSTRAINT "Opportunity_fieldId_fkey";

-- AddForeignKey
ALTER TABLE "Opportunity" ADD CONSTRAINT "Opportunity_fieldId_fkey" FOREIGN KEY ("fieldId") REFERENCES "Activity"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
