Skip to content

Commit

Permalink
chore(db): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed Jan 13, 2024
1 parent 4bae541 commit f2caca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func InitialMigration(db *sql.DB) error {
if newVersion, err := iofsDriver.Next(version); err != nil {
log.Info().Uint("version", version).Msg("Latest DB version.")
} else {
log.Warn().Uint("actual", version).Uint("new", newVersion).Msg("New DB version detected. Attepting automatic migration...")
log.Warn().Uint("actual", version).Uint("new", newVersion).Msg("New DB version detected. Attempting automatic migration...")
if err = m.Up(); err != nil {
panic(fmt.Errorf("failed to migrate db: %w", err))
}
Expand Down

0 comments on commit f2caca4

Please sign in to comment.