Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using flyway 2.1.1 #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Using flyway 2.1.1 #2

wants to merge 3 commits into from

Conversation

x12a1f
Copy link

@x12a1f x12a1f commented Jul 11, 2013

Hi,

I wanted to use flyway 2.1.1 because newer versions can fetch SQL migrations from anywhere of the filesystem. (locations=filesystem:somedir)

I did a few simple tests (clean, init, migrate and status) and they all seem to work fine with a simple SQL migration. I have not tested any Java migrations though.

There are probably some problems with existing migrations (see http://flywaydb.org/documentation/releaseNotes.html) when upgrading to 2.1.1
The most problematic in my case is that initVersion is not set to 0 anymore but it is 1 instead. This means 'gradle flywayInit' will create version 1 and if you call your own migration also 1, your migration is not run. So you should not create migrations with version 1.

Thanks.

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.

None yet

1 participant