From f1143d202a2aabf4e0971d43c1da6c1dbd72eccc Mon Sep 17 00:00:00 2001 From: Gregory Boch Date: Wed, 28 Oct 2026 17:12:18 +0100 Subject: [PATCH] fix(prisma-postgres-setup): give the user the create-db claim URL itself The create-db section told the agent to store the claim URL privately and tell the user how to claim, which an agent can read as "keep the URL to yourself". The database is deleted unless the user opens that URL, so the agent now hands it over with the expiry time. - references/provisioning.md: one sentence in the create-db section - version 2.3.1 Co-Authored-By: Claude Opus 5.5 --- prisma-postgres-setup/SKILL.md | 2 +- prisma-postgres-setup/references/provisioning.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prisma-postgres-setup/SKILL.md b/prisma-postgres-setup/SKILL.md index a51a783..0ef9cfd 100644 --- a/prisma-postgres-setup/SKILL.md +++ b/prisma-postgres-setup/SKILL.md @@ -4,7 +4,7 @@ description: Obtain or reuse a Prisma Postgres database and connect an applicati license: MIT metadata: author: prisma - version: "2.3.0" + version: "2.3.1" --- # Prisma Postgres setup diff --git a/prisma-postgres-setup/references/provisioning.md b/prisma-postgres-setup/references/provisioning.md index 7a2ef0c..9145a21 100644 --- a/prisma-postgres-setup/references/provisioning.md +++ b/prisma-postgres-setup/references/provisioning.md @@ -38,6 +38,6 @@ npx create-db@latest create --help npx create-db@latest regions --help ``` -Choose a supported region and lifetime. Store the connection string and claim URL privately, then tell the user when the database expires and how to claim it using the returned lifecycle information. Do not promise persistence until claiming is complete. Avoid flags that print credentials into shared output. +Choose a supported region and lifetime. Store the connection string and claim URL privately, outside source code and shared logs. Then give the user the claim URL itself and the expiry from the returned lifecycle information: the database is deleted unless they open that URL and claim it. Do not promise persistence until claiming is complete. Avoid flags that print credentials into shared output. For programmatic provisioning, the `create-db` package exposes `create()` and `regions()`. Check the installed types, handle success and error results, and store returned connection/claim information without logging it. See the [create-db documentation](https://www.prisma.io/docs/postgres/npx-create-db).