Saltar al contenido

app.sms_consent_events

TablaSeguridad a nivel de fila activa

SMS consent ledger per org and phone number (Section 14.5): opt-ins with their source, STOP opt-outs and HELP requests. Append-only; the latest Opt In or Opt Out decides whether the org may text the number.

Clave primaria: id

Columnas de app.sms_consent_events
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
person_iduuidSíPerson the number belongs to, when known.Hace referencia a app.people.id
phone_e164textNoPhone number in E.164 format.
actionapp.sms_consent_actionNoOpt In, Opt Out or Help.
keywordtextSíKeyword the person texted, for example STOP, when the event came by SMS.
sourceapp.consent_sourceNoWhere the event was captured.
occurred_attimestamp with time zoneNoWhen it happened. Set by the database.
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.