MealPlanReports table

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

No audit columns.

Columns (8)

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

Relationships

  • MealPlanReports.MealPlanId references MealPlans.Id
  • MealPlanReports.ReportedByUserId references Users.Id