Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
Primary Key. |
|||||
| experience | int4 | 10 | √ | null |
|
|
Integer indicating number of years of experience candidate has in this field. |
||||
| JobCategoryId | int4 | 10 | √ | null |
|
|
Foreign Key to Job Category Table. |
||||
| JobTitleId | int4 | 10 | √ | null |
|
|
Foreign Key to Job Title Table. |
||||
| UserId | uuid | 2147483647 | √ | null |
|
|
Foreign Key to User Table. |
||||
| createdAt | timestamptz | 35,6 | null |
|
|
Entry creation date |
|||||
| updatedAt | timestamptz | 35,6 | null |
|
|
Datetime of last modification to any attribute |
|||||
| HierarchicalJobCategoryId | uuid | 2147483647 | √ | null |
|
|
Foreign Key to Hierarchical Job Category Table |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| JobRolePreferences_pkey | Primary key | Asc | id |
| JobRolePreferences_UserId_JobCategory_idx | Performance | Asc/Asc | UserId + JobCategoryId |
| JobRolePreferences_UserId_JobTitle_idx | Performance | Asc/Asc | UserId + JobTitleId |
| JRP_UserId_HierarchicalJobCategoryId_JobCategoryId_idx | Must be unique | Asc/Asc/Asc | UserId + HierarchicalJobCategoryId + JobCategoryId |
| JRP_UserId_HierarchicalJobCategoryId_JobTitleId_idx | Must be unique | Asc/Asc/Asc | UserId + HierarchicalJobCategoryId + JobTitleId |

