Out Plane
db

db

The db commands.

A managed database is a PostgreSQL instance the platform provisions and keeps running. Inside one there are roles, which are logins, and databases, which is where the tables live. These commands create the instance and everything in it, and hand back a connection string when something needs one.

Only PostgreSQL is managed. Anything else is run as an ordinary application with a disk, and does not appear here.

Commands

CommandWhat It DoesRisk
db listList the team's managed databases.read
db getShow one database and what is inside it.read
db urlPrint a connection string.read
db createProvision a managed PostgreSQL database.write
db deletePermanently destroy a database.destructive
db role listList the logins a database accepts.read
db role createAdd a login to a database.write
db role deleteRemove a login.destructive
db database listList the databases inside a managed instance.read
db database createAdd a database inside a managed instance.write
db database deleteDestroy a database inside an instance.destructive

On this page