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

-- AddForeignKey
ALTER TABLE "templateProduct" ADD CONSTRAINT "templateProduct_productId_fkey" FOREIGN KEY ("productId") REFERENCES "products"("id") ON DELETE CASCADE ON UPDATE CASCADE;
