-- AlterTable
ALTER TABLE "Location" ADD COLUMN     "partnerId" UUID;

-- CreateIndex
CREATE INDEX "Location_partnerId_idx" ON "Location"("partnerId");

-- AddForeignKey
ALTER TABLE "Location" ADD CONSTRAINT "Location_partnerId_fkey" FOREIGN KEY ("partnerId") REFERENCES "Partner"("id") ON DELETE SET NULL ON UPDATE CASCADE;
