Skip to content

Conversation

@thestephenstanton
Copy link

I noticed that if you specify the database name in the config, it actually doesn't do anything. At least not that I'm seeing here. Looks like it might only be used for locks.

I am currently running into a problem where I use 1 connection string that doesn't specify a database for all our different databases on the same cluster. Because of this, the migrations won't work.

This change technically could cause breaking changes if people have specified a different database name in the connection string than is actually in the config.

@coveralls
Copy link

Coverage Status

coverage: 56.319%. remained the same
when pulling 6ab1d6b on thestephenstanton:use-db-name
into 36d17ba on golang-migrate:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants