Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/cmd/ingest-service/daemon/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"

"github.com/golang-migrate/migrate/v4"
_ "github.com/golang-migrate/migrate/v4/database/pgx" // PGX driver for golang-migrate
_ "github.com/golang-migrate/migrate/v4/database/pgx/v5" // PGX driver for golang-migrate
_ "github.com/golang-migrate/migrate/v4/source/file"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -53,7 +53,7 @@ If no path is provided, the default path is used.`,
func (a App) migrateRun() error {
m, err := migrate.New(
fmt.Sprintf("file://%s", a.config.MigrationsDir),
a.config.DBconfig.URI("pgx"),
a.config.DBconfig.URI("pgx5"),
)
if err != nil {
return fmt.Errorf("failed to create migration instance: %v", err)
Expand Down
6 changes: 0 additions & 6 deletions server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,9 @@ require (
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.14.3 // indirect
github.com/jackc/pgerrcode v0.0.0-20250907135507-afb5586c32a6 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgtype v1.14.4 // indirect
github.com/jackc/pgx/v4 v4.18.3 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/klauspost/compress v1.18.3 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
Expand Down
Loading
Loading