Skip to content

app.custom_field_values

TableRow level security on

Value of one custom field on one row of a built-in table, in the typed column of the field's data type. Readable only where the row itself is readable.

Primary key: id

Columns of app.custom_field_values
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.custom_field_definitions on insert; never accepted from the caller and never changed.References app.organizations.id
custom_field_definition_iduuidNoField the value is for.References app.custom_field_definitions.id
target_iduuidNoRow of the field's target table the value belongs to.
value_texttextYesText, Email and URL values.
value_numbernumericYesNumber values.
value_money_minorbigintYesMoney values in minor units of value_currency.
value_currencycharacter(3)YesISO 4217 currency of a money value.References private.currencies.currency_code
value_datedateYesDate values.
value_timestamptimestamp with time zoneYesTimestamp values.
value_booleanbooleanYesBoolean values.
value_choice_iduuidYesChoice values: an option of the field.References app.custom_field_choices.id
value_person_iduuidYesPerson values.References app.people.id
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.