@@ -84,10 +84,11 @@ CREATE TABLE IF NOT EXISTS cyberhire."application_status" (
8484
8585INSERT INTO cyberhire." application_status" (status)
8686VALUES
87- (' Application Submitted' ),
88- (' Application Under Review' ),
89- (' Offer Sent' ),
90- (' Rejected' )
87+ (' SUBMITTED' ),
88+ (' UNDER REVIEW' ),
89+ (' UNDERGOING FURTHER SCREENING' )
90+ (' REJECTED' ),
91+ (' OFFER SENT' )
9192;
9293
9394-- Create for the user_profile_job table
@@ -97,11 +98,12 @@ CREATE TABLE IF NOT EXISTS cyberhire."user_profile_job" (
9798 application_status_id int4 NOT NULL ,
9899 application_submitted_date date NOT NULL ,
99100 application_reviewed_date date NULL ,
101+ application_further_screening_date date NULL ,
100102 application_offer_sent_date date NULL ,
101103 application_rejected_date date NULL ,
102104 rejection_feedback varchar (2000 ) NULL ,
103105 CONSTRAINT user_profile_job_pkey PRIMARY KEY (user_profile_id, job_id),
104106 CONSTRAINT user_profile_job_fk FOREIGN KEY (user_profile_id) REFERENCES cyberhire." user_profile" (user_id),
105107 CONSTRAINT user_profile_job_fk2 FOREIGN KEY (job_id) REFERENCES cyberhire." job" (id),
106108 CONSTRAINT user_profile_job_fk3 FOREIGN KEY (application_status_id) REFERENCES application_status (id)
107- );
109+ );
0 commit comments