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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| EquipmentId | uuid | not null, references Equipment.Id | CASCADE. |
| Setting | text | not null | `EquipmentSettingKind`. |
| Value | character varying(50) | not null | e.g. Flat, Incline15, Incline30, Incline45, Decline — the consumer app's BenchAngle names. |
| Ordinal | integer | not null |
Indexes (1)
(EquipmentId, Setting, Value)unique (IX_EquipmentSettingOptions_Equipment_Setting_Value)
Relationships
EquipmentSettingOptions.EquipmentIdreferencesEquipment.Id