Saltar al contenido

app.domain_events

TablaSeguridad a nivel de fila activa

Append-only domain event table that webhook delivery reads (Section 10.1). Rows are written only by database triggers, so every state change is emitted exactly once.

Clave primaria: id

Columnas de app.domain_events
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
event_typetextNoEvent code from the catalog, for example record.state_changed.Hace referencia a private.domain_event_types.code
subject_tabletextNoTable of the row the event describes.
subject_iduuidNoId of the row the event describes.
project_iduuidSíProject of the subject, when it belongs to one, for per-project subscriptions.Hace referencia a app.projects.id
datajsonbNoOutbound webhook payload: the subject fields the event names. Never carries restricted columns.
occurred_attimestamp with time zoneNoWhen the event happened.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.