WorkoutSessions table

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

Columns (18)

Columns of the WorkoutSessions table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
WorkoutIduuidreferences Workouts.Id
HostIdtextnot null, references Users.Id
ScheduledItemIduuidreferences ScheduledItems.Id
LeaderboardIduuidnot null
SessionNametext
SessionDescriptiontext
Statusintegernot null`WorkoutStatus`.
IsPublicbooleannot null
StartedAttimestamp with time zone
CompletedAttimestamp with time zone
PausedAttimestamp with time zone
LastActivityAttimestamp with time zone
AccumulatedPausedSecondsintegernot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships