CoachCheckInFeedback table

The CoachCheckInFeedback table in the FitStack - V2 schema has 9 columns, keyed by Id, with 2 foreign keys to CoachCheckInSubmissions and Users.

Threaded discussion on one submission. Kept separate from `Messages` (71) on purpose: this is durable coaching record attached to a period of work, not chat.

Columns (9)

Columns of the CoachCheckInFeedback table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
SubmissionIduuidnot null, references CoachCheckInSubmissions.IdCASCADE.
AuthorUserIdtextnot null, references Users.IdCoach or client — a check-in is a thread, not a one-shot reply.
Bodycharacter varying(8000)not null
PostedAttimestamp with time zonenot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (SubmissionId, PostedAt) (IX_CoachCheckInFeedback_SubmissionId_PostedAt)

Relationships