SessionCodes table
The SessionCodes table in the FitStack - V2 schema has 4 columns, keyed by Id, with 1 foreign key to Sessions.
How a Student proves they are in the room. From ClassCodes (81). No audit columns.
Columns (4)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| SessionId | uuid | not null, references Sessions.Id | CASCADE. |
| Type | text | not null | `SessionCodeType`. |
| Code | text | not null |
Indexes (1)
(SessionId)(IX_SessionCodes_SessionId)
Relationships
SessionCodes.SessionIdreferencesSessions.Id