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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| MealPlanId | uuid | not null, references MealPlans.Id | |
| ReportedByUserId | text | not null, references Users.Id | |
| Reason | integer | not null | |
| Status | integer | not null | |
| Description | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ResolvedAt | timestamp with time zone |
Relationships
MealPlanReports.MealPlanIdreferencesMealPlans.IdMealPlanReports.ReportedByUserIdreferencesUsers.Id