Skip to main content
A Custom Column Value is one computed-or-entered cell: the value of a Custom Column for a single record. It is joined to its target record by the record’s public UUID (record_id) rather than a typed foreign key, which is what lets the same custom-column mechanism work across every records root. AI-computed values are written by the enrichment worker as structured JSON.
Internal object. Not currently exposed on the public REST API. The operations below describe the intended contract.

API operations

Data model

Attributes

Relationships

System-computed

  • value_id generated by gen_random_uuid()
  • created_at via onCreate; updated_at via onCreate + onUpdate hooks
  • NO deleted_at β€” values are not soft-deleted; they cascade-delete with their custom_column (deleteRule: cascade)
  • Indexed on (custom_column, record_id)
  • record_id is the target record’s PUBLIC UUID (root-agnostic join key) β€” no FK to the underlying entity table
  • value shape is written by the enrichment worker: or for amount columns

Example

Source: apps/api/src/database/entities/CustomColumnValue.ts Β· domain: records / data-views Β· tier: Infrastructure