KindSubstitutes table

The KindSubstitutes table in the FitStack - V2 schema has 5 columns, keyed by Id, with 2 foreign keys to EquipmentKinds.

Curated by FitStack admins. No audit columns.

Columns (5)

Columns of the KindSubstitutes table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
KindIduuidnot null, references EquipmentKinds.IdThe Kind an exercise asked for.
SubstituteKindIduuidnot null, references EquipmentKinds.IdWhat can stand in for it. DIRECTIONAL: add the reverse row if it holds both ways.
Closenessintegernot null1 = near-identical (Smith machine for barbell bench), 2 = same movement different load, 3 = last resort.
Notescharacter varying(500)

Indexes (1)

  • (KindId, SubstituteKindId) unique (IX_KindSubstitutes_KindId_SubstituteKindId)

Relationships