ClassRooms table
The ClassRooms table in the FitStack - V2 schema has 8 columns, keyed by Id, with 1 foreign key to Gyms. 1 column in Classes references it.
Carries its own address so a class can be held off-site (a park, a pool).
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| GymId | uuid | not null, references Gyms.Id | |
| Name | text | ||
| Capacity | integer | not null | |
| Address | text | not null | |
| City | text | not null | |
| State | text | not null | |
| Zip | text | not null |
Relationships
ClassRooms.GymIdreferencesGyms.IdClasses.ClassRoomIdreferencesClassRooms