envs

Neon — serverless Postgres

neon/database · version 1

envs add neon/database

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
DATABASE_URL required secret Neon says the string you copy from the Connect modal is your DATABASE_URL. Rotate by resetting the role's password.. Shape ^postgres(ql)?://[^\s]+$. where to get it
DATABASE_URL_UNPOOLED optional secret The direct, non-pooled host. Migrations usually want this one.. Shape ^postgres(ql)?://[^\s]+$. where to get it

The JSON the CLI reads