changes
Deploy Iddaai Backend / build-and-deploy (push) Successful in 42s

This commit is contained in:
2026-05-20 10:10:28 +03:00
parent 1d4aa36602
commit 9481ad7094
9 changed files with 103 additions and 25 deletions
@@ -0,0 +1,2 @@
ALTER TABLE "leagues" ADD COLUMN IF NOT EXISTS "sort_order" INTEGER;
CREATE INDEX IF NOT EXISTS "leagues_sort_order_idx" ON "leagues"("sort_order");
+1
View File
@@ -30,6 +30,7 @@ model League {
competitionSlug String? @map("competition_slug")
code String?
logoUrl String? @map("logo_url")
sortOrder Int? @map("sort_order")
createdAt DateTime @default(now()) @map("created_at")
country Country? @relation(fields: [countryId], references: [id])
liveMatches LiveMatch[]