Saltar al contenido

app.notifications

TablaParticionada por mesSeguridad a nivel de fila activa

Inbox notifications (Section 7.3), one per recipient, in monthly partitions. Readable only by the recipient while they belong to the org (invariant 3). Copy is rendered from the i18n catalogs by kind with message_args.

Clave primaria: id, created_at

Columnas de app.notifications
ColumnaTipoAdmite nulosDescripción
iduuidNoNotification id, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
recipient_person_iduuidNoPerson the notification is for.Hace referencia a app.people.id
kindtextNoNotification kind from app.notification_templates.
actor_person_iduuidSíPerson whose action caused it, when one did.Hace referencia a app.people.id
subject_tabletextSíTable of the record it is about.
subject_iduuidSíId of the record it is about.
project_iduuidSíProject of the record, when it belongs to one.Hace referencia a app.projects.id
message_argsjsonbNoICU message arguments for the kind's catalog messages (display values such as a record title). Never relational data.
read_attimestamp with time zoneSíWhen the recipient read it.
archived_attimestamp with time zoneSíWhen the recipient archived it.
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.