This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- AlterTable: add max_analyses and max_coupons columns to usage_limits
|
||||
ALTER TABLE "usage_limits" ADD COLUMN IF NOT EXISTS "max_analyses" INTEGER NOT NULL DEFAULT 3;
|
||||
ALTER TABLE "usage_limits" ADD COLUMN IF NOT EXISTS "max_coupons" INTEGER NOT NULL DEFAULT 1;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Add half-time score columns to live_matches to mirror matches table
|
||||
ALTER TABLE "live_matches"
|
||||
ADD COLUMN IF NOT EXISTS "ht_score_home" INTEGER,
|
||||
ADD COLUMN IF NOT EXISTS "ht_score_away" INTEGER;
|
||||
@@ -139,6 +139,8 @@ model LiveMatch {
|
||||
substate String?
|
||||
scoreHome Int? @map("score_home")
|
||||
scoreAway Int? @map("score_away")
|
||||
htScoreHome Int? @map("ht_score_home")
|
||||
htScoreAway Int? @map("ht_score_away")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
odds Json?
|
||||
oddsUpdatedAt DateTime? @map("odds_updated_at")
|
||||
|
||||
Reference in New Issue
Block a user