CardioProgresses table
The CardioProgresses table in the FitStack - V2 schema has 18 columns, keyed by Id, with 6 foreign keys to WorkoutSessions, WorkoutSessionParticipants, WorkoutExerciseTemplates, WorkoutBlockTemplates and 2 more.
Columns (18)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| WorkoutSessionId | uuid | not null, references WorkoutSessions.Id | |
| ParticipantId | uuid | not null, references WorkoutSessionParticipants.Id | |
| ExerciseTemplateId | uuid | references WorkoutExerciseTemplates.Id | |
| BlockId | uuid | references WorkoutBlockTemplates.Id | |
| RunSessionParticipantId | uuid | references RunSessionParticipants.Id | |
| CardioLogId | uuid | references CardioLogs.Id | |
| TrackingMode | integer | not null | `CardioTrackingMode` — Simple or GpsTracking. |
| ActivityType | integer | not null | |
| StartedAt | timestamp with time zone | not null | |
| CompletedAt | timestamp with time zone | ||
| DurationSeconds | integer | ||
| DistanceMeters | numeric | ||
| CaloriesBurned | numeric | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
CardioProgresses.WorkoutSessionIdreferencesWorkoutSessions.IdCardioProgresses.ParticipantIdreferencesWorkoutSessionParticipants.IdCardioProgresses.ExerciseTemplateIdreferencesWorkoutExerciseTemplates.IdCardioProgresses.BlockIdreferencesWorkoutBlockTemplates.IdCardioProgresses.RunSessionParticipantIdreferencesRunSessionParticipants.IdCardioProgresses.CardioLogIdreferencesCardioLogs.Id