Saltar al contenido

app.conversations

TablaSeguridad a nivel de fila activa

A chat conversation (Section 4.9 Chat): one-to-one between two members, or the conversation of a group. Created only by the chat RPCs and group triggers.

Clave primaria: id

Columnas de app.conversations
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
conversation_kindapp.conversation_kindNoDirect or Group.
group_iduuidSíGroup whose conversation this is; set for Group conversations.Hace referencia a app.groups.id
direct_keytextSíThe two membership ids of a Direct conversation, sorted and joined by a colon, so each pair has one conversation.
last_message_attimestamp with time zoneSíWhen the latest message was sent, for sorting.
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.