JobFraudAnalysisRecords


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 gen_random_uuid()
reportedJobStartId uuid 2147483647 null
ReportedJobs.id JobFraudAnalysisRecords_reportedJobStartId_fkey C

Foreign Key to the ReportedJobs Table. Job fraud analysis will start with this value

reportedJobEndId uuid 2147483647 null
ReportedJobs.id JobFraudAnalysisRecords_reportedJobEndId_fkey C

Foreign Key to the ReportedJobs Table. Job fraud analysis will end with this value

analysisStatus enum_JobFraudAnalysisRecords_analysisStatus 2147483647 null

Contains the status from job fraud analysis

reasonForFailure text 2147483647 null

Contains failure reason if the analysis status is failed

createdAt timestamptz 35,6 now()
updatedAt timestamptz 35,6 now()

Indexes

Constraint Name Type Sort Column(s)
JobFraudAnalysisRecords_pkey Primary key Asc id

Check Constraints

Constraint Name Constraint
JobFraudAnalysisRecords_analysisStatus_reason_nullable_check (((("analysisStatus" = 'FAILED'::"enum_JobFraudAnalysisRecords_analysisStatus") AND ("reasonForFailure" IS NOT NULL)) OR (("analysisStatus" <> 'FAILED'::"enum_JobFraudAnalysisRecords_analysisStatus") AND ("reasonForFailure" IS NULL))))

Relationships