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

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

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

@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

Any news?

@samidha14
Copy link
Author

Thanks Axel !

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

No branches or pull requests

2 participants