CardioLogs table
The CardioLogs table in the FitStack - V2 schema has 43 columns, keyed by Id, with 4 foreign keys to WorkoutLogs, WorkoutSessions, WorkoutSessionParticipants and WorkoutExerciseTemplates. 4 columns in CardioSplits, CardioProgresses, RunSessionParticipants and ScheduledItems reference it.
52 columns. `GpsRoute` is a full location trace — if a coaching scope ever exposes CardioLogs, GPS must be a distinct, Sensitive scope from the aggregate numbers. Sharing a pace curve is not sharing a home address.
Columns (43)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| WorkoutLogId | uuid | references WorkoutLogs.Id | |
| WorkoutSessionId | uuid | references WorkoutSessions.Id | |
| ParticipantId | uuid | references WorkoutSessionParticipants.Id | |
| ExerciseTemplateId | uuid | references WorkoutExerciseTemplates.Id | |
| Name | text | ||
| ActivityType | integer | not null | `FitnessActivityType`. |
| RunType | integer | `CardioRunType`. | |
| OrderInSession | integer | ||
| DistanceMeters | numeric | not null | |
| AveragePaceSecondsPerKm | numeric | ||
| BestPaceSecondsPerKm | numeric | ||
| AverageSpeedKmh | numeric | ||
| MaxSpeedKmh | numeric | ||
| ElevationGainMeters | numeric | ||
| ElevationLossMeters | numeric | ||
| MinElevationMeters | numeric | ||
| MaxElevationMeters | numeric | ||
| CaloriesBurnedBase | numeric | ||
| CaloriesBurnedAdjusted | numeric | ||
| CarriedWeightKg | numeric | ||
| AverageCadence | integer | ||
| MaxCadence | integer | ||
| AverageStrideLengthMeters | numeric | ||
| TimeInZone1Seconds | integer | ||
| TimeInZone2Seconds | integer | ||
| TimeInZone3Seconds | integer | ||
| TimeInZone4Seconds | integer | ||
| TimeInZone5Seconds | integer | ||
| EstimatedVO2Max | numeric | ||
| TrainingEffect | numeric | ||
| IsIndoor | boolean | not null | |
| SurfaceType | text | ||
| IsSyncedFromDevice | boolean | not null | |
| DeviceExternalUuid | text | ||
| SourceDevice | text | ||
| GpsRoute | jsonb | GpsRouteData value object via JsonValueConverter. Precise location history — the most sensitive column in this table. | |
| ElevationProfile | jsonb | ElevationProfileData value object. | |
| WeatherConditions | jsonb | WeatherConditionsData value object. | |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
CardioLogs.WorkoutLogIdreferencesWorkoutLogs.IdCardioLogs.WorkoutSessionIdreferencesWorkoutSessions.IdCardioLogs.ParticipantIdreferencesWorkoutSessionParticipants.IdCardioLogs.ExerciseTemplateIdreferencesWorkoutExerciseTemplates.IdCardioSplits.CardioLogIdreferencesCardioLogsCardioProgresses.CardioLogIdreferencesCardioLogsRunSessionParticipants.CardioLogIdreferencesCardioLogsScheduledItems.CardioLogIdreferencesCardioLogs