PostReports table
The PostReports table in the FitStack - V2 schema has 8 columns, keyed by Id, with 2 foreign keys to FeedPosts and Users.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| PostId | uuid | not null, references FeedPosts.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
PostReports.PostIdreferencesFeedPosts.IdPostReports.ReportedByUserIdreferencesUsers.Id