SDK v3 #8

Merged
SoXX merged 77 commits from dev/issue-5 into main 2024-08-14 13:27:35 +00:00
Showing only changes of commit 1345fa9c9e - Show all commits

View File

@ -110,13 +110,11 @@ func migrateDatabase(ctx context.Context, dbPool *gorm.DB, config models.Databas
return utils.HandleError(ctx, span, localLogger, err)
}
if config.Debug {
if n != 0 {
localLogger.Debugf("applied %d migrations!", n)
} else {
localLogger.Debug("nothing to migrate")
}
}
utils.HandleEvent(span, localLogger, "Database migration completed successfully")
return nil