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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| Type | integer | not null | `ConversationType`. |
| LastMessageAt | timestamp with time zone | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
ConversationParticipants.ConversationIdreferencesConversationsMessages.ConversationIdreferencesConversations