GymCoaches table
The GymCoaches table in the FitStack - V2 schema has 4 columns, keyed by Id, with 2 foreign keys to Gyms and Coaches. 1 column in Classes references it.
A coach working at a gym. THE JOIN BETWEEN THE GYM AND COACHING DOMAINS. Working at a gym confers no access to a client data. That still requires a `CoachAccessGrant` (62) from the individual client — being a member of the same gym is not consent.
Columns (4)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| GymId | uuid | not null, references Gyms.Id | |
| CoachId | uuid | not null, references Coaches.Id | |
| BadgeNumber | text |
Relationships
GymCoaches.GymIdreferencesGyms.IdGymCoaches.CoachIdreferencesCoaches.IdClasses.GymCoachIdreferencesGymCoaches