floo db has two commands: query runs SQL against an app’s managed Postgres, and schema prints its schema. Preview database branches are listed by floo previews resources.
pgvector is available but not enabled by default. Add CREATE EXTENSION IF NOT EXISTS vector; to your first migration. See Postgres → Vector search with pgvector.
Migrations run on each deploy: see Run migrations through migrate_command.
Backups and restores: see Postgres → Backups.
query
Run SQL against an app’s managed database.Flags
schema
Print an app’s current database schema.Related
- Managed Services: declare Postgres in
floo.app.toml floo env: read managed URLs likeDATABASE_URLdirectly- Postgres: the end-to-end managed Postgres model
- Preview Environments: supported preview data modes and branch reset behavior