Skip to content

feat(blog): add Prisma Postgres on Stripe Projects post#7946

Merged
ankur-arch merged 12 commits into
mainfrom
feat/blog-prisma-postgres-stripe-projects
Jun 26, 2026
Merged

feat(blog): add Prisma Postgres on Stripe Projects post#7946
ankur-arch merged 12 commits into
mainfrom
feat/blog-prisma-postgres-stripe-projects

Conversation

@sampolahtinen

@sampolahtinen sampolahtinen commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Purpose of change

Adds the announcement blog post for Prisma Postgres as a provider on Stripe Projects — letting developers add a Prisma Postgres database to their Stripe project from the CLI, with spending limits via Shared Payment Tokens and plan management in the same terminal flow.

What's changed and why

  • New post (apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx): problem-first intro (agents can build but can't provision paid infra), real init/add CLI output, repo scaffold tree, the four-plan pricing table, an SPT payment-flow sequence diagram, and the teardown flow.
  • Env var names: documents PRISMA_DATABASE_URL (direct) and PRISMA_ACCELERATE_URL (Accelerate), matching the access-config rename in pdp-control-plane#4196.
  • Vault explanation grounded in Stripe's docs (Secret Store canonical copy + encrypted local .projects/vault/vault.json, both gitignored).
  • Prisma Compute referenced with the launch post's wording and linked to the public-beta announcement.
  • Author avatar added at apps/blog/public/authors/sampo-lahtinen.png (squared 460x460, matching the existing convention).
  • Mermaid.tsx: set the muted color to the theme's muted-foreground so edge/message labels stay legible on dark backgrounds (affects all blog diagrams; same dim-label issue applied to all).

The post was reviewed with the prisma-copy-review + prisma-product-messaging skills: positioning aligned, product language verified, fluff trimmed, em dashes removed, credentials masked.

Testing notes / Before-after

  • Renders locally at /blog/prisma-postgres-on-stripe-projects (HTTP 200); Mermaid diagram compiles to inline SVG.
  • pnpm --filter blog types:check passes.

Not ready to publish yet

  • Hero + OG images are missing. Frontmatter points at imgs/hero.png / imgs/meta.png, which don't exist (blog images are managed outside git). Real hero and OG/meta images need to be created and the frontmatter pointed at them before publish.
  • A few product/billing claims (SPT limit-vs-prorated-price, immediate downgrades) and the upgrade prisma-plan command syntax were confirmed by the author; flag if anything in the Stripe Projects behavior shifts before launch.

Summary by CodeRabbit

  • New Features
    • Added a new blog post about provisioning Prisma Postgres through Stripe, including setup steps, day-to-day commands, spending limits, and cleanup options.
  • Style
    • Improved Mermaid diagram readability by adjusting label colors for better contrast and legibility.

sampolahtinen and others added 2 commits June 14, 2026 11:02
Draft skeleton + first prose pass for the Stripe Projects integration:
add a Prisma Postgres database from the Stripe CLI, manage plans, and
the upcoming Prisma Compute teaser.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Rewrite intro around the agent paid-provisioning gap and SPTs
- Add real CLI output, file tree, plans table, and SPT sequence diagram
- Rename env vars to PRISMA_DATABASE_URL (direct) / PRISMA_ACCELERATE_URL
- Document vault (Secret Store + encrypted local copy, gitignored)
- Correct Prisma Compute wording and link the public-beta launch post
- Remove em dashes per house style; mask credentials; use example@prisma.io
- Brighten mermaid edge labels via muted color; add Sampo author avatar

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jun 26, 2026 12:30pm
docs Ready Ready Preview, Comment Jun 26, 2026 12:30pm
eclipse Ready Ready Preview, Comment Jun 26, 2026 12:30pm
site Ready Ready Preview, Comment Jun 26, 2026 12:30pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1352c97c-2dc1-4585-bde6-0ba2d5fb3828

📥 Commits

Reviewing files that changed from the base of the PR and between 29f9f7b and 067e649.

⛔ Files ignored due to path filters (3)
  • apps/blog/public/authors/sampo-lahtinen.png is excluded by !**/*.png
  • apps/blog/public/prisma-postgres-on-stripe-projects/imgs/hero.png is excluded by !**/*.png
  • apps/blog/public/prisma-postgres-on-stripe-projects/imgs/meta.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx
  • apps/blog/src/components/Mermaid.tsx

Walkthrough

Adds a blog post about provisioning Prisma Postgres through Stripe Projects, covering setup, environment handling, spending limits, plan changes, operational commands, cleanup, and a closing note. It also updates Mermaid SVG rendering to use a muted label color.

Changes

Stripe Projects announcement post

Layer / File(s) Summary
Frontmatter and intro
apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx
Adds the post frontmatter and opening sections introducing Stripe Projects and Prisma Postgres.
Getting started flow
apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx
Describes initializing Stripe Projects, creating the Prisma database, and where generated environment values and secrets are stored.
Spending limits and plans
apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx, apps/blog/src/components/Mermaid.tsx
Covers SPT spending caps, the payment-flow diagram, the plan catalog, and upgrade/downgrade commands; Mermaid SVG options now set a muted label color.
Operations and wrap-up
apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx
Adds the status and open commands, cleanup steps, and the closing note about Prisma Compute.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • prisma/web#7844: Introduced the blog’s Mermaid rendering path that this PR updates with a muted label color.

Comment @coderabbitai help to get the list of available commands.

@argos-ci

argos-ci Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Jun 26, 2026, 12:36 PM

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx Outdated
Comment thread apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx Outdated
Comment thread apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx Outdated
Comment thread apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx Outdated
Comment thread apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx Outdated
Adds the Prisma | Stripe branded hero image (3600x1890) referenced by the
post frontmatter at imgs/hero.png and imgs/meta.png. The 1.905:1 ratio
matches the hero convention and the ideal OG image ratio.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread apps/blog/content/blog/prisma-postgres-on-stripe-projects/index.mdx Outdated
@ankur-arch ankur-arch marked this pull request as ready for review June 26, 2026 12:28
@ankur-arch ankur-arch merged commit a68fbbe into main Jun 26, 2026
10 of 15 checks passed
@ankur-arch ankur-arch deleted the feat/blog-prisma-postgres-stripe-projects branch June 26, 2026 12:28
@ankur-arch ankur-arch self-assigned this Jun 26, 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