Skip to content

app.custom_field_definitions

TableRow level security on

Org-defined fields on built-in tables (Section 7.3 Workflow engine). Values live in custom_field_values with typed columns.

Primary key: id

Columns of app.custom_field_definitions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
target_tabletextNoBuilt-in table the field extends.References private.custom_field_targets.table_name
field_keytextNoLowercase key, unique per org and table.
labeltextNoDisplay label, the org's own text.
data_typeapp.custom_data_typeNoData type; decides the value column.
requiredbooleanNoTrue when forms require a value.
filterablebooleanNoTrue when views filter on the field; adds a partial index.
sort_orderintegerNoPosition in forms.
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.