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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| ProgramId | uuid | not null, references Programs.Id | |
| ReportedByUserId | text | not null, references Users.Id | |
| Reason | integer | not null | `ReportReason`. |
| Status | integer | not null | `ReportStatus`. |
| Description | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ResolvedAt | timestamp with time zone |
Relationships
ProgramReports.ProgramIdreferencesPrograms.IdProgramReports.ReportedByUserIdreferencesUsers.Id