GymProductImages table
The GymProductImages table in the FitStack - V2 schema has 3 columns, with 2 foreign keys to GymProducts and Media.
Columns (3)
| Column | Type | Constraints | Description |
|---|---|---|---|
| ProductId | uuid | not null, references GymProducts.Id | CASCADE. |
| MediaId | uuid | not null, references Media.Id | |
| Ordinal | integer | not null |
Relationships
GymProductImages.ProductIdreferencesGymProducts.IdGymProductImages.MediaIdreferencesMedia.Id