feat(observabillity): #153 instrument sqlx
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 8m11s
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 8m11s
This commit is contained in:
@@ -56,7 +56,7 @@ func Run(ctx context.Context, database *sqlx.DB, migrationsPrefix string, env fu
|
||||
}
|
||||
|
||||
// init db
|
||||
err = db.RunMigrations(database, migrationsPrefix)
|
||||
err = db.RunMigrations(ctx, database, migrationsPrefix)
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not run migrations: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user