Saltar al contenido

app.thread_reads

TablaSeguridad a nivel de fila activa

Read receipts: when each person last read each engagement or party thread. A message counts as read by everyone whose last read is at or after it was sent. Written only by app.mark_thread_read.

Clave primaria: id

Columnas de app.thread_reads
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg of the thread.Hace referencia a app.organizations.id
person_iduuidNoReader, set from the session.Hace referencia a app.people.id
engagement_thread_iduuidSíEngagement thread read.Hace referencia a app.engagement_threads.id
party_thread_iduuidSíParty thread read.Hace referencia a app.party_threads.id
last_read_attimestamp with time zoneNoWhen the person last read the thread.
deleted_attimestamp with time zoneSíSoft 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_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