ClassAttendees table
The ClassAttendees table in the FitStack - V2 schema has 3 columns, with 3 foreign keys to Classes, Users and GymClients.
Columns (3)
| Column | Type | Constraints | Description |
|---|---|---|---|
| ClassId | uuid | not null, references Classes.Id | |
| UserId | text | not null, references Users.Id | |
| ClientId | uuid | references GymClients.Id | Set when the attendee is a member of this gym. Null for external drop-ins, who pay Classes.ExternalPrice. |
Relationships
ClassAttendees.ClassIdreferencesClasses.IdClassAttendees.UserIdreferencesUsers.IdClassAttendees.ClientIdreferencesGymClients.Id