ConversationParticipants table
The ConversationParticipants table in the FitStack - V2 schema has 9 columns, keyed by Id, with 2 foreign keys to Conversations and Users.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| ConversationId | uuid | not null, references Conversations.Id | |
| UserId | text | not null, references Users.Id | |
| LastReadAt | timestamp with time zone | ||
| IsMuted | boolean | not null | |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (1)
(ConversationId, UserId)unique (IX_ConversationParticipants_ConversationId_UserId)
Relationships
ConversationParticipants.ConversationIdreferencesConversations.IdConversationParticipants.UserIdreferencesUsers.Id