Applications_copy1


Description

Job Application.

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
Users.id Applications_copy1_ApplicantId_fkey N

Foreign Key to User Table.

JobId uuid 2147483647 null
Jobs.id Applications_copy1_JobId_fkey R

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
Users.id Applications_copy1_FirstReaderId_fkey C

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_copy1_pkey Primary key Asc id
Applications_ApplicantId_createdAt_id_idx_copy1 Performance Asc/Desc/Desc ApplicantId + createdAt + id
Applications_ApplicantId_idx_copy1 Performance Asc ApplicantId
Applications_ApplicantId_JobId_idx_copy1 Must be unique Asc/Asc ApplicantId + JobId
Applications_createdAt_idx_copy1 Performance Asc createdAt
Applications_expiryDate_idx_copy1 Performance Asc expiryDate
Applications_expiryDate_status_NEW_idx_copy1 Performance Asc expiryDate
Applications_JobId_ApplicantId_idx_copy1 Performance Asc/Asc JobId + ApplicantId
Applications_JobId_idx_copy1 Performance Asc JobId
Applications_JobId_source_idx_copy1 Performance Asc/Asc JobId + source
Applications_status_idx_copy1 Performance Asc status
Applications_updatedAt_idx_copy1 Performance Asc updatedAt
Applications_updatedAt_status_shortlistedPartialIdx_copy1 Performance Asc updatedAt

Relationships