first (part 2: other directories)
Deploy Iddaai Backend / build-and-deploy (push) Failing after 18s

This commit is contained in:
2026-04-16 15:11:25 +03:00
parent 7814e0bc6b
commit 2f0b85a0c7
203 changed files with 59989 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
-- AlterTable: Add odds columns to live_matches
-- Run this migration when DB is accessible
ALTER TABLE "live_matches"
ADD COLUMN IF NOT EXISTS "odds" JSONB,
ADD COLUMN IF NOT EXISTS "odds_updated_at" TIMESTAMP(3);
-- Create index for faster queries on odds_updated_at
CREATE INDEX IF NOT EXISTS "live_matches_odds_updated_at_idx" ON "live_matches"("odds_updated_at");
-- Comment for documentation
COMMENT ON COLUMN "live_matches"."odds" IS 'Bahis oranları JSON: {"MS": {"1": 2.10, "X": 3.40, "2": 3.20}, "AU25": {"Alt": 2.05, "Üst": 1.75}}';
COMMENT ON COLUMN "live_matches"."odds_updated_at" IS 'Oranların son güncellenme zamanı';