GymEquipmentUnitPhotos table
The GymEquipmentUnitPhotos table in the FitStack - V2 schema has 3 columns, with 2 foreign keys to GymEquipmentUnits and Media.
Columns (3)
| Column | Type | Constraints | Description |
|---|---|---|---|
| UnitId | uuid | not null, references GymEquipmentUnits.Id | CASCADE. |
| MediaId | uuid | not null, references Media.Id | |
| Ordinal | integer | not null |
Relationships
GymEquipmentUnitPhotos.UnitIdreferencesGymEquipmentUnits.IdGymEquipmentUnitPhotos.MediaIdreferencesMedia.Id