Docs

Framework guides

/* Keep your framework. Change the connection string. */

SECTOR 0x01

Works with the usual suspects

  • >>Prisma with DATABASE_URL or directUrl
  • >>Drizzle with the normal Postgres driver
  • >>Rails and Django using their standard Postgres settings
  • >>psql, TablePlus, DataGrip, pgAdmin, and other SQL clients
SECTOR 0x02

Recommended pattern

Store the direct or pooled URL in environment variables and keep the rest of your framework configuration boring. That is the point.

DATABASE_URL=postgres://user:password@host:5432/db?sslmode=require