floo db exposes read and migration access to an app’s managed Postgres. Use it to ask quick operational questions, inspect the schema, or run pending migrations from the current checkout.
query
Run a SQL query against the managed database for an app.Flags
| Flag | Default | Description |
|---|---|---|
--app, -a | inferred from config | App name or ID |
--env | dev | Target environment: dev or prod |
--limit | 1000 | Maximum rows to return |
schema
Print the current database schema for an app.migrate
Run pending migrations against the managed database.Related
- Managed Services — declare Postgres in
floo.app.toml floo env— read managed URLs likeDATABASE_URLdirectly- Databases — the end-to-end managed Postgres model