Merge pull request #44 from faxal/master

Get default URL from environment variable MIGRATE_URL
This commit is contained in:
Matthias Kadenbach 2015-06-24 10:09:51 -07:00
commit 68a658aff4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import (
"time"
)
var url = flag.String("url", "", "")
var url = flag.String("url", os.Getenv("MIGRATE_URL"), "")
var migrationsPath = flag.String("path", "", "")
var version = flag.Bool("version", false, "Show migrate version")