WorkoutSessionParticipants table
The WorkoutSessionParticipants table in the FitStack - V2 schema has 5 columns, keyed by Id, with 2 foreign keys to WorkoutSessions and Users. 4 columns in CardioLogs, ExerciseProgresses, CardioProgresses and LeaderboardEntries reference it.
No audit columns — no soft-delete filter.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| SessionId | uuid | not null, references WorkoutSessions.Id | |
| UserId | text | not null, references Users.Id | |
| Role | integer | not null | `WorkoutSessionRole`. |
| LeftAt | timestamp with time zone |
Relationships
WorkoutSessionParticipants.SessionIdreferencesWorkoutSessions.IdWorkoutSessionParticipants.UserIdreferencesUsers.IdCardioLogs.ParticipantIdreferencesWorkoutSessionParticipantsExerciseProgresses.ParticipantIdreferencesWorkoutSessionParticipantsCardioProgresses.ParticipantIdreferencesWorkoutSessionParticipantsLeaderboardEntries.ParticipantIdreferencesWorkoutSessionParticipants