Conversations table

The Conversations table in the FitStack - V2 schema has 7 columns, keyed by Id. 2 columns in ConversationParticipants and Messages reference it.

Generic DM thread. A coach-client conversation is just a Direct conversation — coaching adds no messaging tables of its own, but check-in feedback (63) is deliberately NOT stored here: that is durable coaching record attached to a period of work, not chat.

Columns (7)

Columns of the Conversations table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
Typeintegernot null`ConversationType`.
LastMessageAttimestamp with time zone
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships