ReviewReports table
The ReviewReports table in the Shipfolio schema has 8 columns, keyed by Id, with 2 foreign keys to Reviews and AspNetUsers.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ReviewId | uuid | not null, references Reviews.Id | |
| ReporterId | uuid | not null, references AspNetUsers.Id | |
| Reason | varchar(240) | not null | |
| Status | varchar(50) | not null | |
| CreatedAt | timestamptz | not null | |
| ResolvedAt | timestamptz | ||
| ResolvedBy | uuid |
Indexes (2)
(ReporterId, CreatedAt)(IX_ReviewReports_ReporterId_CreatedAt)(ReviewId, ReporterId)unique (IX_ReviewReports_ReviewId_ReporterId)
Relationships
ReviewReports.ReviewIdreferencesReviews.IdReviewReports.ReporterIdreferencesAspNetUsers.Id