website refactor
This commit is contained in:
@@ -101,6 +101,10 @@ export class SeedRacingData {
|
||||
if (existingDrivers.length > 0 && !forceReseed) {
|
||||
this.logger.info('[Bootstrap] Racing seed skipped (drivers already exist), ensuring scoring configs');
|
||||
await this.ensureScoringConfigsForExistingData();
|
||||
// Even when skipping full seed, ensure stats are computed and stored
|
||||
this.logger.info('[Bootstrap] Computing and storing driver/team stats for existing data');
|
||||
await this.computeAndStoreDriverStats();
|
||||
await this.computeAndStoreTeamStats();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user