Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Jan 15, 2024
1 parent a5a3009 commit 55a0f44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ursrv/aggregate/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,8 @@ func runMigration(db *sql.DB, store *blob.UrsrvStore, geoIPPath, from, to string
// Aggregate the reports of all the days prior to today, as all the usage
// reports for those days should be put in the db already.
for fromDate.Before(toDate) {
log.Println("migrating", fromDate)

// Obtain the reports for the given date from the db.
reports, err := reportsFromDB(db, fromDate)
if err != nil {
Expand Down

0 comments on commit 55a0f44

Please sign in to comment.