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

First character in script column of schema_version table removed if double back slashes in location. #1782

mehta-m opened this issue Sep 28, 2017 · 2 comments


Copy link

mehta-m commented Sep 28, 2017

What version of Flyway are you using?


Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks) Command-line
What database are you using (type & version)?

Microsoft SQL Server 2012

What operating system are you using?

Windows 10

What did you do?

If you have double back slashes \\ in flyway.locations the script column in schema_version table removed the first character from the script name.

i.e. If flyway.locations = D:\\Scripts\SQL and file name is
V17.5.0.0062__PROIRL-50.sql - it will appear in the script column as (V - removed)

However if flyway.locations = D:\Scripts\SQL the it works fine.

Copy link

I am afraid something went wrong with the formatting of your issue report as I don't see any difference between both locations.

Copy link

mehta-m commented Sep 28, 2017

I've just Updated the issue.

@axelfontaine axelfontaine added this to the Flyway 5.0.0 milestone Sep 28, 2017
axelfontaine pushed a commit to flyway/ that referenced this issue Nov 14, 2017
dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
… table removed if double back slashes in location.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants