Skip to content

Commit

Permalink
updated roles and company schema (#139)
Browse files Browse the repository at this point in the history
* updated roles and company schema

* fixed linting

---------

Co-authored-by: Alton Banushi <[email protected]>
  • Loading branch information
gpalmer27 and banushi-a authored Feb 21, 2025
1 parent dc8a790 commit a00b9f6
Show file tree
Hide file tree
Showing 7 changed files with 1,533 additions and 5 deletions.
12 changes: 12 additions & 0 deletions packages/db/drizzle/0004_massive_moonstone.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ALTER TABLE "company" ADD COLUMN "averageHourlyPay" numeric;--> statement-breakpoint
ALTER TABLE "company" ADD COLUMN "averageOverallRating" numeric;--> statement-breakpoint
ALTER TABLE "company" ADD COLUMN "averageCultureRating" numeric;--> statement-breakpoint
ALTER TABLE "company" ADD COLUMN "averageSupervisorRating" numeric;--> statement-breakpoint
ALTER TABLE "company" ADD COLUMN "averageInterviewRating" numeric;--> statement-breakpoint
ALTER TABLE "company" ADD COLUMN "averageInterviewDifficulty" numeric;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "averageHourlyPay" numeric;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "averageOverallRating" numeric;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "averageCultureRating" numeric;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "averageSupervisorRating" numeric;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "averageInterviewRating" numeric;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "averageInterviewDifficulty" numeric;
2 changes: 2 additions & 0 deletions packages/db/drizzle/0005_loving_cable.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "company" ADD COLUMN "totalReviews" integer;--> statement-breakpoint
ALTER TABLE "role" ADD COLUMN "totalReviews" integer;
Loading

0 comments on commit a00b9f6

Please sign in to comment.