-- DropForeignKey
ALTER TABLE "templateProduct" DROP CONSTRAINT "templateProduct_badgeId_fkey";

-- AddForeignKey
ALTER TABLE "templateProduct" ADD CONSTRAINT "templateProduct_badgeId_fkey" FOREIGN KEY ("badgeId") REFERENCES "Badge"("id") ON DELETE SET NULL ON UPDATE CASCADE;
