CoachCheckInMedia table
The CoachCheckInMedia table in the FitStack - V2 schema has 5 columns, keyed by Id, with 2 foreign keys to CoachCheckInSubmissions and Media.
Progress photos. Sensitive — treat as `body.*` scope material even though they arrive by submission.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| SubmissionId | uuid | not null, references CoachCheckInSubmissions.Id | CASCADE. |
| MediaId | uuid | not null, references Media.Id | |
| Caption | character varying(500) | ||
| SortOrder | integer | not null |
Indexes (1)
(SubmissionId, SortOrder)(IX_CoachCheckInMedia_SubmissionId_SortOrder)
Relationships
CoachCheckInMedia.SubmissionIdreferencesCoachCheckInSubmissions.IdCoachCheckInMedia.MediaIdreferencesMedia.Id