ArticleReports table
The ArticleReports table in the Shipfolio schema has 8 columns, keyed by Id, with 2 foreign keys to Articles and AspNetUsers.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ArticleId | uuid | not null, references Articles.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 (1)
(ReporterId, CreatedAt)(IX_ArticleReports_ReporterId_CreatedAt)
Relationships
ArticleReports.ArticleIdreferencesArticles.IdArticleReports.ReporterIdreferencesAspNetUsers.Id