Update weekly player stat and patch to include some misc stats
This commit is contained in:
parent
eee8d9a6a3
commit
27f8f5e4dc
@ -50,6 +50,13 @@ class SeedWeeklyPlayerDataPatch extends Injectable {
|
||||
patch_player_id: stat.PlayerID,
|
||||
week_num: week,
|
||||
fantasy_points: stat.FantasyPoints,
|
||||
|
||||
passing_attempts: stat.PassingAttempts,
|
||||
passing_completions: stat.PassingCompletions,
|
||||
passing_yards: stat.PassingYards,
|
||||
fumbles: stat.Fumbles,
|
||||
kick_returns: stat.KickReturns,
|
||||
sacks: stat.Sacks,
|
||||
})
|
||||
|
||||
await weekly_stat.save()
|
||||
|
@ -11,6 +11,13 @@ class WeeklyPlayerStat extends Model {
|
||||
week_num: Number,
|
||||
patch_player_id: String,
|
||||
fantasy_points: Number,
|
||||
|
||||
passing_attempts: Number,
|
||||
passing_completions: Number,
|
||||
passing_yards: Number,
|
||||
fumbles: Number,
|
||||
kick_returns: Number,
|
||||
sacks: Number,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user