Skip to content

Commit

Permalink
feat: add calculated ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
nehalist committed Jan 28, 2024
1 parent 1ca5f39 commit 0f833ef
Show file tree
Hide file tree
Showing 15 changed files with 2,282 additions and 67 deletions.
3 changes: 3 additions & 0 deletions drizzle/0006_worthless_mandroid.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE "matches" ADD COLUMN "team1RatingChange" real DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE "matches" ADD COLUMN "team1Rating" real DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE "matches" ADD COLUMN "team2Rating" real DEFAULT 0 NOT NULL;
1 change: 1 addition & 0 deletions drizzle/0007_moaning_sunspot.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "matches" ADD COLUMN "team2RatingChange" real DEFAULT 0 NOT NULL;
1 change: 1 addition & 0 deletions drizzle/0008_solid_bill_hollister.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "team" ALTER COLUMN "rating" SET DATA TYPE real;
Loading

0 comments on commit 0f833ef

Please sign in to comment.