ExerciseLogs table

The ExerciseLogs table in the FitStack - V2 schema has 26 columns, keyed by Id, with 2 foreign keys to WorkoutLogs and Exercises.

Columns (26)

Columns of the ExerciseLogs table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
WorkoutLogIduuidnot null, references WorkoutLogs.Id
ExerciseIduuidreferences Exercises.Id
ExerciseNametextnot nullSnapshot — survives the exercise being renamed or deleted.
OrderIndexintegernot null
Setsinteger
Repsinteger
Weightnumeric
WeightUnittext
DurationSecondsinteger
Distancenumeric
DistanceUnittext
CaloriesBurnednumeric
RestTimeSecondsinteger
PerceivedExertionintegerRPE 1-10.
Tempotext
AverageHeartRateinteger
MaxHeartRateinteger
IsCompletedbooleannot null
IsPersonalRecordbooleannot null
SetDatatextJSON, per-set detail.
Notestext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships