playoffs added to totals model

This commit is contained in:
Ravi Prasad
2025-05-08 18:16:41 -05:00
parent 1d3edc68b4
commit edb2cfb863
8 changed files with 62 additions and 27 deletions
+1
View File
@@ -36,4 +36,5 @@ type PlayerTotalStat struct {
Points int `json:"points"`
Team string `gorm:"not null;uniqueIndex:idx_total_player_season_team" json:"team"`
Season int `gorm:"not null;uniqueIndex:idx_total_player_season_team" json:"season"`
IsPlayoff bool `gorm:"not null;default:false;uniqueIndex:idx_total_player_season_team" json:"isPlayoff"`
}