fix: Use Debugf for formatted debug message in migrateDatabase

This commit is contained in:
SoXX 2024-08-13 12:52:58 +02:00
parent 75bbbb4408
commit ad076f585b

View File

@ -112,7 +112,7 @@ func migrateDatabase(ctx context.Context, dbPool *gorm.DB, config models.Databas
if config.Debug {
if n != 0 {
localLogger.Debug("applied %d migrations!", n)
localLogger.Debugf("applied %d migrations!", n)
} else {
localLogger.Debug("nothing to migrate")
}