main
Deploy Iddaai Backend / build-and-deploy (push) Failing after 2m6s

This commit is contained in:
2026-05-12 02:43:02 +03:00
parent f8599bdb9a
commit b6d64b59bf
35 changed files with 1400 additions and 630 deletions
@@ -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;
+2
View File
@@ -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")