Skip to content

app.enumerations

TableRow level security on

The org's enumeration values, by domain and sort_order: its editable copy of the Standard Library enumerations (xpms.std_enumeration), or its own.

Primary key: id

Columns of app.enumerations
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
domaintextNoEnumeration domain, such as Incident Severity.
codetextNoValue code, such as SEV_CRITICAL.
labeltextNoThe org's label for the value.
descriptiontextYesWhat the value means.
sort_orderintegerNoPosition within the domain, ascending.
color_codetextYesDisplay color as #RRGGBB.
is_defaultbooleanNoTrue for the domain's default value.
std_enumeration_idtextYesStandard Library value the row was copied from (xpms.std_enumeration); NULL for the org's own.References xpms.std_enumeration.record_id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
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