CompanyReviewReports table
The CompanyReviewReports table in the Shipfolio schema has 11 columns, keyed by Id, with 2 foreign keys to CompanyReviews and AspNetUsers.
Columns (11)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| ReviewId | uuid | not null, references CompanyReviews.Id | |
| ReporterId | uuid | not null, references AspNetUsers.Id | |
| Reason | varchar(50) | not null | |
| Details | varchar(1000) | ||
| FromSubject | boolean | not null | |
| ReportedAt | timestamptz | not null | |
| Status | varchar(50) | not null | |
| ResolvedAt | timestamptz |
Indexes (2)
(ReporterId)(IX_CompanyReviewReports_ReporterId)(ReviewId, ReporterId)(IX_CompanyReviewReports_ReviewId_ReporterId)
Relationships
CompanyReviewReports.ReviewIdreferencesCompanyReviews.IdCompanyReviewReports.ReporterIdreferencesAspNetUsers.Id