Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
Primary Key. |
||||||||||||||||||||
| note | varchar | 66000 | √ | null |
|
|
Cover letter. |
|||||||||||||||||||
| createdAt | timestamptz | 35,6 | null |
|
|
Entry creation date |
||||||||||||||||||||
| updatedAt | timestamptz | 35,6 | null |
|
|
Datetime of last modification to any attribute |
||||||||||||||||||||
| ApplicantId | uuid | 2147483647 | null |
|
|
Foreign Key to User Table. |
||||||||||||||||||||
| JobId | uuid | 2147483647 | null |
|
|
Foreign Key to Job Table. |
||||||||||||||||||||
| attachments | jsonb | 2147483647 | √ | null |
|
|
Filenames of attached files, pointing to glints-dashboard/application-attachment on s3. |
|||||||||||||||||||
| status | enum_Applications_status | 2147483647 | 'NEW'::"enum_Applications_status" |
|
|
Status of the application as determined by employers of the job this application is made to. |
||||||||||||||||||||
| expiryDate | date | 13 | √ | (('now'::text)::date + '30 days'::interval) |
|
|
||||||||||||||||||||
| metadata | jsonb | 2147483647 | √ | null |
|
|
||||||||||||||||||||
| relevancePercentage | int4 | 10 | √ | 0 |
|
|
||||||||||||||||||||
| phone | varchar | 255 | √ | null |
|
|
User Phone Number added with the application |
|||||||||||||||||||
| resume | varchar | 255 | √ | null |
|
|
File name linking to their resumes in s3 bucket glints-dashboard/resume that is added by the user with the application |
|||||||||||||||||||
| source | enum_Applications_source | 2147483647 | √ | null |
|
|
Tells the source from where the application was submitted |
|||||||||||||||||||
| firstReadAt | timestamptz | 35,6 | √ | null |
|
|
Timestamp for when the application was first read |
|||||||||||||||||||
| FirstReaderId | uuid | 2147483647 | √ | null |
|
|
UserId of the user who first read the application |
|||||||||||||||||||
| expectedSalary | int8 | 19 | √ | null |
|
|
||||||||||||||||||||
| employerMetadata | jsonb | 2147483647 | √ | null |
|
|
Employer-related metadata. |
|||||||||||||||||||
| firstShortlistedAt | timestamptz | 35,6 | √ | null |
|
|
||||||||||||||||||||
| firstProcessedAt | timestamptz | 35,6 | √ | null |
|
|
||||||||||||||||||||
| processedInfo | jsonb | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| Applications_pkey | Primary key | Asc | id |
| Applications_ApplicantId_createdAt_id_idx | Performance | Asc/Desc/Desc | ApplicantId + createdAt + id |
| Applications_ApplicantId_idx | Performance | Asc | ApplicantId |
| Applications_ApplicantId_JobId_idx | Must be unique | Asc/Asc | ApplicantId + JobId |
| Applications_ApplicantId_partial_idx | Performance | Asc | ApplicantId |
| Applications_createdAt_idx | Performance | Asc | createdAt |
| Applications_expiryDate_idx | Performance | Asc | expiryDate |
| Applications_expiryDate_status_NEW_idx | Performance | Asc | expiryDate |
| Applications_JobId_ApplicantId_idx | Performance | Asc/Asc | JobId + ApplicantId |
| Applications_JobId_idx | Performance | Asc | JobId |
| Applications_JobId_source_idx | Performance | Asc/Asc | JobId + source |
| Applications_status_idx | Performance | Asc | status |
| Applications_updatedAt_idx | Performance | Asc | updatedAt |
| Applications_updatedAt_status_shortlistedPartialIdx | Performance | Asc | updatedAt |

