Saltar al contenido

app.chat_messages

TablaSeguridad a nivel de fila activa

A chat message. Photos, files and voice notes are attachments on the message. Written only through app.send_chat_message; deleting soft deletes and hides it.

Clave primaria: id

Columnas de app.chat_messages
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.conversations on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
conversation_iduuidNoConversation the message belongs to.Hace referencia a app.conversations.id
author_membership_iduuidNoMember who sent it.Hace referencia a app.memberships.id
message_kindapp.chat_message_kindNoText, Photo, File or Voice.
bodytextSíMessage text; optional for a photo, file or voice note.
languagetextSíLanguage the author wrote in (BCP 47), for translation.
edited_attimestamp with time zoneSíWhen the author last edited the text.
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.
auto_replybooleanNoTrue for the automatic out-of-office reply sent for a member who is away (me.out_of_office.auto_reply), never typed by them.