Skip to content

Commit

Permalink
Миграция: test_1
Browse files Browse the repository at this point in the history
  • Loading branch information
Demosfenys committed Mar 5, 2023
1 parent 35d7260 commit 01c818b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/events/Database.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ func (db *Database) Connect(ctx context.Context, connStr string) (err error) {
if err != nil {
return err
}
//db.connection, err = pdb.DB()
db.connection, err = sql.Open("pgx", connStr)
db.connection, err = pdb.DB()
//db.connection, err = sql.Open("pgx", connStr)
if err != nil {
return err
}
Expand Down

0 comments on commit 01c818b

Please sign in to comment.