Skip to content

Commit

Permalink
Tweak registration strings
Browse files Browse the repository at this point in the history
  • Loading branch information
treuherz committed Apr 3, 2023
1 parent fcee15f commit 1ecd0a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/pgx/pgx.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
func init() {
db := Postgres{}
database.Register("pgx", &db)
database.Register("pgx/v4", &db)
database.Register("pgx4", &db)
}

var (
Expand Down
2 changes: 1 addition & 1 deletion database/pgx/v5/pgx.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

func init() {
db := Postgres{}
database.Register("pgx/v5", &db)
database.Register("pgx5", &db)
}

var (
Expand Down

0 comments on commit 1ecd0a8

Please sign in to comment.