Neon branch refresh from prod (control plane, run ledger)
Generated from
pattern-library/registry.json— do not edit by hand; change the registry and runbun run patterns:build.
Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.
Category: Database Operations · Tier: light · Maturity: proven (verified 2026-08-20 @ 1a130d67) · Risk: medium — external managed service (Neon control plane), admin-only destructive op
Resets the dev Neon Postgres branch from its production parent through Neon's control-plane API, recording each run in a ledger and surfacing it at an admin-only page.
When to use: Use when developers need production-like data in the dev branch on demand or on a schedule, without a manual dump and restore.
Docs
Code
Proof
/admin/db(app route, no showcase)
Machine-readable record: db-ops-branch-refresh in pattern-library/registry.json.