Skip to content

Commit

Permalink
fix: proper printf verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Jan 9, 2024
1 parent 27364ee commit 602c310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion database/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ func RunMigrations(logger log.Logger, config DatabaseConfig, opts ...MigrateOpti
newVersion = 0
newDirty = false
}
logger.Info().Logf("Migrations complete: %d (%b) -> %d (%b)", currentVersion, dirty, newVersion, newDirty)

logger.Info().Logf("Migrations complete: previous: %d (dirty:%v) -> current: %d (dirty:%v)", currentVersion, dirty, newVersion, newDirty)

return nil
}
Expand Down

0 comments on commit 602c310

Please sign in to comment.