JobReports table
The JobReports table in the Shipfolio schema has 9 columns, keyed by Id, with 2 foreign keys to JobPostings and AspNetUsers.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| JobPostingId | uuid | not null, references JobPostings.Id | |
| ReporterId | uuid | not null, references AspNetUsers.Id | |
| Reason | varchar(50) | not null | |
| Details | varchar(1000) | ||
| CreatedAt | timestamptz | not null | |
| Status | varchar(50) | not null | |
| ResolvedAt | timestamptz | ||
| ResolvedById | uuid |
Indexes (2)
(JobPostingId, ReporterId)(IX_JobReports_JobPostingId_ReporterId)(ReporterId, CreatedAt)(IX_JobReports_ReporterId_CreatedAt)
Relationships
JobReports.JobPostingIdreferencesJobPostings.IdJobReports.ReporterIdreferencesAspNetUsers.Id