-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Properly support subfolders for Flyway database migrations #11300
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable assuming tests pass 😎
5d7655a
to
c715ba3
Compare
This does not work in a Jar ! |
@rmanibus do you have a reproducer? If so, please open an issue and add it so we can fix this |
return pathStream.filter(Files::isRegularFile) | ||
.map(it -> Paths.get(location, it.getFileName().toString()).toString()) | ||
.map(it -> Paths.get(location, rootPath.relativize(it).toString()).toString()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not work in a Jar !
I get unable to optain inputstream for resource:
db/migration/oracle/../oracle/<migration_name>.sql
with quarkus/flyway.locations=db/migration/oracle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try to make a reproducer yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please open a separate issue with a reproducer so that we can easily track it.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see #11780
Fix #11288