mirror of https://github.com/status-im/migrate.git
Merge pull request #44 from faxal/master
Get default URL from environment variable MIGRATE_URL
This commit is contained in:
commit
68a658aff4
2
main.go
2
main.go
|
@ -16,7 +16,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var url = flag.String("url", "", "")
|
var url = flag.String("url", os.Getenv("MIGRATE_URL"), "")
|
||||||
var migrationsPath = flag.String("path", "", "")
|
var migrationsPath = flag.String("path", "", "")
|
||||||
var version = flag.Bool("version", false, "Show migrate version")
|
var version = flag.Bool("version", false, "Show migrate version")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue