I don't understand why I get the following error - is go caching or ignoring the environment variable?
host:dbMigrations martin$ sql-migrate up -env=localdocker
Applied 25 migrations
host:dbMigrations martin$ sql-migrate down 1 -env=localdocker
Could not parse config: No environment: development
I don't understand why I get the following error - is go caching or ignoring the environment variable?
dbconfig.yml
:If I rename
localdocker
todevelopment
everything works .. ..