ProgramReports table

The ProgramReports table in the FitStack - V2 schema has 8 columns, keyed by Id, with 2 foreign keys to Programs and Users.

No audit columns.

Columns (8)

Columns of the ProgramReports table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
ProgramIduuidnot null, references Programs.Id
ReportedByUserIdtextnot null, references Users.Id
Reasonintegernot null`ReportReason`.
Statusintegernot null`ReportStatus`.
Descriptiontext
CreatedAttimestamp with time zonenot null
ResolvedAttimestamp with time zone

Relationships

  • ProgramReports.ProgramId references Programs.Id
  • ProgramReports.ReportedByUserId references Users.Id