FitnessPlanReports table

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

No audit columns.

Columns (8)

Columns of the FitnessPlanReports table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
FitnessPlanIduuidnot null, references FitnessPlans.Id
ReportedByUserIdtextnot null, references Users.Id
Reasonintegernot null
Statusintegernot null
Descriptiontext
CreatedAttimestamp with time zonenot null
ResolvedAttimestamp with time zone

Relationships

  • FitnessPlanReports.FitnessPlanId references FitnessPlans.Id
  • FitnessPlanReports.ReportedByUserId references Users.Id