WorkoutLogs table

The WorkoutLogs table in the FitStack - V2 schema has 22 columns, keyed by Id, with 3 foreign keys to Users, Workouts and WorkoutSessions. 3 columns in ExerciseLogs, CardioLogs and ScheduledItems reference it.

One completed workout. In v1 every insert here was broadcast to all active coaches over SignalR with no consent — see 62.

Columns (22)

Columns of the WorkoutLogs table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdtextnot null, references Users.Id
WorkoutTemplateIduuidreferences Workouts.Id
WorkoutSessionIduuidreferences WorkoutSessions.Id
WorkoutNametext
WorkoutTypeintegernot null
Datedatenot null
StartTimetimestamp with time zonenot null
EndTimetimestamp with time zone
DurationMinutesnumeric
CaloriesBurnednumeric
AverageHeartRateinteger
MaxHeartRateinteger
Ratinginteger
Notestext
IsCompletedbooleannot null
IsSyncedbooleannot null
ExternalUuidtext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships