Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Commit

Permalink
Merge pull request #193 from Arkq/master
Browse files Browse the repository at this point in the history
Support for alternative postgres URI scheme
  • Loading branch information
mattes authored Apr 3, 2017
2 parents 09640b1 + 83c703f commit 4cfc044
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion driver/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,7 @@ func (driver *Driver) Version() (uint64, error) {
}

func init() {
driver.RegisterDriver("postgres", &Driver{})
drv := Driver{}
driver.RegisterDriver("postgres", &drv)
driver.RegisterDriver("postgresql", &drv)
}

0 comments on commit 4cfc044

Please sign in to comment.