-- CreateTable
CREATE TABLE "kml_record" (
    "id" SERIAL NOT NULL,
    "link" TEXT NOT NULL,
    "userId" INTEGER NOT NULL,

    CONSTRAINT "kml_record_pkey" PRIMARY KEY ("id")
);

-- AddForeignKey
ALTER TABLE "kml_record" ADD CONSTRAINT "kml_record_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
