Merge pull request #194 from Arkq/v3.0-prev

Support for alternative postgres URI scheme
This commit is contained in:
Matthias Kadenbach 2017-04-10 11:22:50 -07:00 committed by GitHub
commit b83285bd59
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ import (
)
func init() {
database.Register("postgres", &Postgres{})
db := Postgres{}
database.Register("postgres", &db)
database.Register("postgresql", &db)
}
var DefaultMigrationsTable = "schema_migrations"