This commit is contained in:
@@ -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");
|
||||
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user