Skip to content

docs(prisma-postgres): create-db databases last 72 hours unclaimed - #2

Merged
AmanVarshney01 merged 1 commit into
prisma:mainfrom
gregory-boch-prisma:docs/create-db-72-hours
Dec 1, 2026
Merged

AmanVarshney01 merged 1 commit into
prisma:mainfrom
gregory-boch-prisma:docs/create-db-72-hours

Conversation

@gregory-boch-prisma

@gregory-boch-prisma gregory-boch-prisma commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The plugin's prisma-postgres skill and its create-db reference describe how long an unclaimed create-db database lives. Once prisma/create-db#92 and #93 ship, an unclaimed database is deleted after 72 hours instead of about 24.

Changes

  • plugins/prisma/skills/prisma-postgres/SKILL.md: "Temporary databases auto-delete after 72 hours unless claimed."
  • plugins/prisma/skills/prisma-postgres/references/create-db-cli.md: the --ttl row gives 30m or 1h-72h, with 72h as the default and maximum.

Opened from a fork: the author has read-only access to this repository.

Ship order

Unclaimed create-db databases move from 24 to 72 hours across several repositories. Merge in this order:

  1. feat(create-db-worker): keep unclaimed databases for 72 hours create-db#92, workers. Merge, then confirm the create-db worker deploy actually landed: Workers Builds deploys from main have failed before without anyone noticing. A quick check: a create request with a 48-hour TTL succeeds instead of returning 400.
  2. feat(create-db): unclaimed databases last 72 hours; --ttl up to 72h create-db#93, CLI 1.4.0. Release to npm only after step 1. Released earlier, --ttl above 24h gets a 400 from the old worker, and the CLI prints a deletion time 48 hours later than the real one.
  3. Copy, after the release: docs: create-db databases last 72 hours unclaimed web#8928, docs(orm v7 deploy): create-db option where each deploy guide asks for a hosted Postgres web#8926, docs(create-db): deploy-or-share section; title covers first deploys web#8927, feat(prisma-postgres-setup): trigger on deploying or sharing an app with no hosted database skills#42, docs(skills): create-db databases last 72 hours unclaimed prisma-cli#406, docs(prisma-postgres): create-db databases last 72 hours unclaimed #2.

Older CLIs keep printing a 24-hour deletion time after step 1, while the database lives 72 hours. That understates the lifetime; nothing breaks.

Checks

  • Markdown only. No other "24 hours" lifetime remains in the repository (git grep).

🤖 Generated with Claude Code

The prisma-postgres skill and its create-db reference say an unclaimed
create-db database is deleted after 72 hours, up from 24, and that --ttl
accepts 30m or 1h to 72h.

Merge after the create-db CLI release with the 72-hour lifetime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gregory-boch-prisma added a commit to prisma/prisma-cli that referenced this pull request Nov 26, 2026
The `prisma-platform-core-concepts` skill describes `create-db` for
agents. It said an unclaimed database is deleted after 24 hours; once
prisma/create-db#92 and #93 ship, it is 72 hours.

## Changes

- `skills/prisma-platform-core-concepts/SKILL.md`: the create-db
sentence says an unclaimed database is deleted after 72 hours.

## Ship order

Unclaimed create-db databases move from 24 to 72 hours across several
repositories. Merge in this order:

1. **prisma/create-db#92, workers.** Merge, then confirm the create-db
worker deploy actually landed: Workers Builds deploys from `main` have
failed before without anyone noticing. A quick check: a create request
with a 48-hour TTL succeeds instead of returning 400.
2. **prisma/create-db#93, CLI 1.4.0.** Release to npm only after step 1.
Released earlier, `--ttl` above 24h gets a 400 from the old worker, and
the CLI prints a deletion time 48 hours later than the real one.
3. **Copy, after the release:** prisma/web#8928, prisma/web#8926,
prisma/web#8927, prisma/skills#42, #406,
prisma/codex-plugin#2.

Older CLIs keep printing a 24-hour deletion time after step 1, while the
database lives 72 hours. That understates the lifetime; nothing breaks.

## Checks

- One-line Markdown change in a skill file.
- `scripts/check-skill-packaging.mjs` runs `pnpm pack` with the full
prepack build, which needs a complete install, so it was not run
locally; CI covers it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@gregory-boch-prisma

Copy link
Copy Markdown
Contributor Author

The 72-hour lifetime is live, so this PR is ready to merge.

Check on 2026-11-28, with npx create-db@latest --json (create-db 1.4.1):

  • Created: 2026-11-28T02:30:11Z
  • deletionDate: 2026-12-01T02:30:13Z, which is 72 hours later

I can't merge here (read-only access), so this needs someone with write access. The PR is approved on a953228 and GitHub shows it as mergeable.

@AmanVarshney01
AmanVarshney01 merged commit b22ab20 into prisma:main Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants