Skip to content

app.custom_object_fields

TableRow level security on

Typed fields of a custom object (Section 4.6.3). A filterable field gets its own partial index on its value column.

Primary key: id

Columns of app.custom_object_fields
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.custom_object_types on insert; never accepted from the caller and never changed.References app.organizations.id
custom_object_type_iduuidNoObject the field belongs to.References app.custom_object_types.id
field_keytextNoLowercase key, unique within the object.
labeltextNoDisplay label, the org's own text.
data_typeapp.custom_data_typeNoData type; decides the value column.
requiredbooleanNoTrue when every record needs a value.
filterablebooleanNoTrue when views filter on the field; adds a partial index.
sort_orderintegerNoPosition in forms and tables.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.