forked from profilecity/vidur
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(db): Create SEO fields for job posting
- Loading branch information
1 parent
de9e613
commit d6597fb
Showing
5 changed files
with
512 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DO $$ BEGIN | ||
CREATE TYPE "public"."employment_type" AS ENUM('FULL_TIME', 'PART_TIME', 'CONTRACTOR', 'TEMPORARY', 'INTERN', 'VOLUNTEER', 'PER_DIEM', 'OTHER'); | ||
EXCEPTION | ||
WHEN duplicate_object THEN null; | ||
END $$; | ||
--> statement-breakpoint | ||
ALTER TABLE "job_postings" ADD COLUMN "employment_type" employment_type[];--> statement-breakpoint | ||
ALTER TABLE "job_postings" ADD COLUMN "job_locations" json;--> statement-breakpoint | ||
ALTER TABLE "job_postings" ADD COLUMN "is_remote" boolean DEFAULT false NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "job_postings" ADD COLUMN "base_salary" json; |
Oops, something went wrong.