+19
-12
@@ -207,6 +207,12 @@ model FootballAiFeature {
|
||||
leagueHomeWinPct Float @default(0.0) @map("league_home_win_pct")
|
||||
leagueOver25Pct Float @default(0.0) @map("league_over25_pct")
|
||||
missingPlayersImpact Float @default(0.0) @map("missing_players_impact")
|
||||
oddsMovementHome Float? @map("odds_movement_home")
|
||||
oddsMovementDraw Float? @map("odds_movement_draw")
|
||||
oddsMovementAway Float? @map("odds_movement_away")
|
||||
oddsMovementO25 Float? @map("odds_movement_o25")
|
||||
oddsMovementBtts Float? @map("odds_movement_btts")
|
||||
oddsSharpness Float? @map("odds_sharpness")
|
||||
calculatorVer String @default("v2.0") @map("calculator_ver")
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
match Match @relation(fields: [matchId], references: [id], onDelete: Cascade)
|
||||
@@ -448,18 +454,19 @@ model OddCategory {
|
||||
}
|
||||
|
||||
model OddSelection {
|
||||
dbId Int @id @default(autoincrement()) @map("db_id")
|
||||
categoryId Int @map("odd_category_db_id")
|
||||
name String?
|
||||
oddValue String? @map("odd_value")
|
||||
position String?
|
||||
sov Float?
|
||||
state String?
|
||||
sport Sport?
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @map("updated_at")
|
||||
category OddCategory @relation(fields: [categoryId], references: [dbId], onDelete: Cascade)
|
||||
history OddsHistory[]
|
||||
dbId Int @id @default(autoincrement()) @map("db_id")
|
||||
categoryId Int @map("odd_category_db_id")
|
||||
name String?
|
||||
oddValue String? @map("odd_value")
|
||||
openingValue String? @map("opening_value")
|
||||
position String?
|
||||
sov Float?
|
||||
state String?
|
||||
sport Sport?
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @map("updated_at")
|
||||
category OddCategory @relation(fields: [categoryId], references: [dbId], onDelete: Cascade)
|
||||
history OddsHistory[]
|
||||
|
||||
@@unique([categoryId, name])
|
||||
@@index([categoryId])
|
||||
|
||||
Reference in New Issue
Block a user