Skip to content

Commit 167ea37

Browse files
committed
Update kit migrator
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
1 parent 0ea848e commit 167ea37

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/prometheus/client_golang v1.22.0
1717
github.com/vektah/gqlparser/v2 v2.5.25
1818
go.gearno.de/crypto/uuid v0.1.0
19-
go.gearno.de/kit v0.0.0-20250517021713-79a1e96adc23
19+
go.gearno.de/kit v0.0.0-20250517034137-7943a87a6d2f
2020
go.opentelemetry.io/otel v1.35.0
2121
go.opentelemetry.io/otel/trace v1.35.0
2222
golang.org/x/crypto v0.37.0

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ go.gearno.de/kit v0.0.0-20250325104916-a9c1391b79f0 h1:X6TgcxxGPV0zbjgrLRgnqhqqz
152152
go.gearno.de/kit v0.0.0-20250325104916-a9c1391b79f0/go.mod h1:cEDPOR+WVloqrYmGBoSpHlLqSmTCBjW1j02ntm0Yk9U=
153153
go.gearno.de/kit v0.0.0-20250517021713-79a1e96adc23 h1:gr3W7MxCab9tyb4ci9zs7jk1M37Cw1itGUaCW7QybNg=
154154
go.gearno.de/kit v0.0.0-20250517021713-79a1e96adc23/go.mod h1:cEDPOR+WVloqrYmGBoSpHlLqSmTCBjW1j02ntm0Yk9U=
155+
go.gearno.de/kit v0.0.0-20250517034137-7943a87a6d2f h1:uo0q0g7Sdaj7UKFvB2mySeHgq646upIL7NYqOI1sD3U=
156+
go.gearno.de/kit v0.0.0-20250517034137-7943a87a6d2f/go.mod h1:cEDPOR+WVloqrYmGBoSpHlLqSmTCBjW1j02ntm0Yk9U=
155157
go.gearno.de/x/panicf v0.1.1 h1:E3Cr9NB8Ry2EsvEG/1eHr7kplP3tEjTf5d56dTX64VQ=
156158
go.gearno.de/x/panicf v0.1.1/go.mod h1:VnB8oF0UefMZcYeD4v+Wk4U5Z1uza7PHLlhT2CbNEbU=
157159
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=

pkg/probod/probod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func (impl *Implm) Run(
168168

169169
s3Client := s3.NewFromConfig(awsConfig)
170170

171-
err = migrator.NewMigrator(pgClient, coredata.Migrations).Run(ctx, "migrations")
171+
err = migrator.NewMigrator(pgClient, coredata.Migrations, l.Named("migrations")).Run(ctx, "migrations")
172172
if err != nil {
173173
return fmt.Errorf("cannot migrate database schema: %w", err)
174174
}

0 commit comments

Comments
 (0)