From f2caca466e0a7ac6c8927223a4b394a6c0884e7d Mon Sep 17 00:00:00 2001 From: Nguyen Marc Date: Sat, 13 Jan 2024 19:51:53 +0100 Subject: [PATCH] chore(db): fix typo --- database/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/database.go b/database/database.go index 7b73c24..b4098f1 100644 --- a/database/database.go +++ b/database/database.go @@ -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)) }