JobOrderChangeLogs


Description

This table contains changelog of their respective jobOrder tables.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 gen_random_uuid()

Primary Key.

recruiterId uuid 2147483647 null
Recruiters.id JobOrderChangeLogs_recruiterId_fkey C

Foreign Key to Recruiter table, who did the change.

jobOrderId uuid 2147483647 null
JobOrders.id JobOrderChangeLogs_jobOrderId_fkey C

Foreign Key to JobOrder table, the updated change.

body jsonb 2147483647 '{}'::jsonb

Consisting key of field name with old and new value of the changed field when update action happens

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

Indexes

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

Relationships