Refactor db package logging

This commit is contained in:
dwrz
2026-09-26 17:18:52 +00:00
parent ef6cf36f48
commit 2391aa32d2
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package db
import (
"context"
"log/slog"
"testing"
)
@@ -12,7 +13,7 @@ func TestQueries(t *testing.T) {
)
defer db.Close()
if err := db.ApplySchema(ctx, nil); err != nil {
if err := db.ApplySchema(ctx, slog.Default()); err != nil {
t.Fatalf("ApplySchema: %v", err)
}