EquipmentSettingOptions table

The EquipmentSettingOptions table in the FitStack - V2 schema has 5 columns, keyed by Id, with 1 foreign key to Equipment.

The positions an Entry supports (Training: Equipment Setting). No audit columns: replaced wholesale with the Entry.

Columns (5)

Columns of the EquipmentSettingOptions table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
EquipmentIduuidnot null, references Equipment.IdCASCADE.
Settingtextnot null`EquipmentSettingKind`.
Valuecharacter varying(50)not nulle.g. Flat, Incline15, Incline30, Incline45, Decline — the consumer app's BenchAngle names.
Ordinalintegernot null

Indexes (1)

  • (EquipmentId, Setting, Value) unique (IX_EquipmentSettingOptions_Equipment_Setting_Value)

Relationships

  • EquipmentSettingOptions.EquipmentId references Equipment.Id