model update

This commit is contained in:
Ravi Prasad
2025-05-12 16:58:29 -05:00
parent 4e28d26cf1
commit b6a3b59b3c
2 changed files with 1 additions and 36 deletions
+1
View File
@@ -33,4 +33,5 @@ type PlayerAdvancedStat struct {
VORP float64 `json:"vorp"`
Team string `gorm:"not null;uniqueIndex:idx_player_season_team" json:"team"`
Season int `gorm:"not null;uniqueIndex:idx_player_season_team" json:"season"`
isPlayoff bool `gorm:"not null;default:false;uniqueIndex:idx_player_season_team" json:"isPlayoff"`
}