ThreadReports table
The ThreadReports table in the Shipfolio schema has 9 columns, keyed by Id, with 3 foreign keys to Threads, ThreadReplies and AspNetUsers.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ThreadId | uuid | not null, references Threads.Id | |
| ReplyId | uuid | references ThreadReplies.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_ThreadReports_ReporterId_CreatedAt)
Relationships
ThreadReports.ThreadIdreferencesThreads.IdThreadReports.ReplyIdreferencesThreadReplies.IdThreadReports.ReporterIdreferencesAspNetUsers.Id