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

Flyway:migrate migrates correctly. but in the schema_version table the scriptname is prefixed with a / #639

Closed
samidha14 opened this issue Nov 5, 2013 · 4 comments

Comments

@samidha14
Copy link

@samidha14 samidha14 commented Nov 5, 2013

select "script" from "schema_version";

O/P is:
/V0002__TEST.sql

My Maven plugin is configured as below:

com.googlecode.flyway
flyway-maven-plugin
2.2.1
jdbc:oracle:thin:${db.user}/${db.password}@//${db.host}:${db.port}/${db.sid}
${db.user}
true

filesystem:${basedir}/${repositoryhub}/${migration.directory}


Why is the file name always prefixed with a forward slash.

@samidha14
Copy link
Author

@samidha14 samidha14 commented Nov 7, 2013

I am facing the issue in Windows as well as Unix OS.
I am not using placeholders.
I am reading the database connection properties from a properties file.

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Dec 10, 2013

@samidha14 Thanks for the report and sorry for the late reply. Could you provide a small zip with a test case to reproduce this? I can't seem to reproduce it on my end.

Cheers
Axel

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Jan 22, 2014

Any news?

@samidha14
Copy link
Author

@samidha14 samidha14 commented May 5, 2014

Thanks Axel !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.