Rowmesh
Attach a serverless Postgres database with branching for every preview.
Overview
Rowmesh gives each preview environment its own database branch, copied from production in seconds. The connection string is set as an environment variable and removed when the preview closes.
What you can do
- One database branch per preview environment
- Connection strings set as environment variables
- Branches deleted when the pull request closes
Set up
- Connect your Rowmesh project in Integrations → Rowmesh.
- Pick the parent branch to copy for previews.
- Redeploy the service to receive
DATABASE_URL.
Terminal
$ cloud integrations add rowmesh --project analytics --branch-from main