mirror of https://github.com/status-im/migrate.git
Merge pull request #194 from Arkq/v3.0-prev
Support for alternative postgres URI scheme
This commit is contained in:
commit
b83285bd59
|
@ -13,7 +13,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
database.Register("postgres", &Postgres{})
|
db := Postgres{}
|
||||||
|
database.Register("postgres", &db)
|
||||||
|
database.Register("postgresql", &db)
|
||||||
}
|
}
|
||||||
|
|
||||||
var DefaultMigrationsTable = "schema_migrations"
|
var DefaultMigrationsTable = "schema_migrations"
|
||||||
|
|
Loading…
Reference in New Issue