GymHours table
The GymHours table in the FitStack - V2 schema has 5 columns, keyed by Id, with 1 foreign key to Gyms.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| GymId | uuid | not null, references Gyms.Id | |
| DayOfWeek | integer | not null | |
| Open | text | not null | 24h format, e.g. 08:00. Stored as text, not a time column. |
| Close | text | not null | 24h format, e.g. 17:30. |
Relationships
GymHours.GymIdreferencesGyms.Id