GymZones table
The GymZones table in the FitStack - V2 schema has 9 columns, keyed by Id, with 1 foreign key to Gyms. 1 column in GymEquipmentUnits references it.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| GymId | uuid | not null, references Gyms.Id | |
| Name | character varying(200) | not null | Free-weights area, Cardio deck, Studio 2 ... |
| Ordinal | integer | not null | |
| Description | character varying(1000) | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (1)
(GymId, Ordinal)(IX_GymZones_GymId_Ordinal)
Relationships
GymZones.GymIdreferencesGyms.IdGymEquipmentUnits.ZoneIdreferencesGymZones