Database

Define typed Postgres tables in the dashboard. Your flows and REST API read and write the same data.

Tables & column types

Create tables in the dashboard with typed columns. Supported column types:

TypeNotes
TEXTVariable-length string
INTEGER32-bit signed integer
BIGINT64-bit signed integer
DECIMALExact numeric, use for money
BOOLEANtrue / false
TIMESTAMPDate + time
DATECalendar date
JSONArbitrary JSON document
UUIDUniversally unique identifier

System columns

Every table automatically includes id (uuid), created_at and updated_at.

Relationships

Add a relation columnto link tables. It becomes a UUID foreign key to the target table's id, enforced by Postgres with a configurable ON DELETE rule:

ON DELETEBehavior
SET NULLClears the reference when the parent is deleted
CASCADEDeletes child rows along with the parent
RESTRICTBlocks deleting a parent that still has children

Related rows can be embedded in API responses with expand. See the Data API.