Data

Data model and forms

Tables, fields, relationships, permissions and validated record operations.

Updated: November 2026

Tables

Every application receives its own PostgreSQL schema. Tables are created only through the controlled designer and a restricted field type set. Keys and types of existing fields cannot be changed.

  • text and email
  • integer and number
  • date
  • single and multi-choice
  • UUID relationship fields

Relationships

One-to-many relationships connect a child-table UUID field to the primary key of a parent table in the same application. PostgreSQL enforces the foreign key with ON DELETE RESTRICT.

Many-to-many relationships use a join table with two required foreign keys and a unique key pair. Application tables cannot reference core tables.

Safe schema changes

Before a change, the API creates an impact plan with record and invalid-value counts. The plan is bound to a fingerprint and revalidated under a table lock. Changes that would invalidate existing data are rejected.

Form validation

  • minimum and maximum text length
  • numeric minimum and maximum values
  • earliest and latest dates
  • validated options
  • conditions for visibility, editability and required status
  • identical rules in Studio, preview, runtime and record APIs