PostCommentReports table
The PostCommentReports table in the FitStack - V2 schema has 9 columns, keyed by Id, with 2 foreign keys to PostComments and Users.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| PostCommentId | uuid | not null, references PostComments.Id | |
| ReportedByUserId | text | not null, references Users.Id | |
| Reason | integer | not null | |
| Status | integer | not null | |
| IsEscalated | boolean | not null | |
| Description | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ResolvedAt | timestamp with time zone |
Relationships
PostCommentReports.PostCommentIdreferencesPostComments.IdPostCommentReports.ReportedByUserIdreferencesUsers.Id