fix: Use Debugf for formatted debug message in migrateDatabase
This commit is contained in:
parent
75bbbb4408
commit
ad076f585b
@ -112,7 +112,7 @@ func migrateDatabase(ctx context.Context, dbPool *gorm.DB, config models.Databas
|
|||||||
|
|
||||||
if config.Debug {
|
if config.Debug {
|
||||||
if n != 0 {
|
if n != 0 {
|
||||||
localLogger.Debug("applied %d migrations!", n)
|
localLogger.Debugf("applied %d migrations!", n)
|
||||||
} else {
|
} else {
|
||||||
localLogger.Debug("nothing to migrate")
|
localLogger.Debug("nothing to migrate")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user