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

"Storing migrations in 'sql' is not recommended" when using suggested paths #137

Open
fatbasstard opened this issue Feb 16, 2024 · 2 comments

Comments

@fatbasstard
Copy link

Hi, just updated our Flyway image to 10.8.1 and running with the suggested volume. But that throws a warning:

WARNING: Storing migrations in 'sql' is not recommended and default scanning of this location may be deprecated in a future release
Flyway OSS Edition 10.8.1 by Redgate

Is this something that can be fixes in this repo?

@agirorn
Copy link

agirorn commented Apr 11, 2024

I have a similar warning, except for mine, which is complaining about jars. It sure would be nice if the wanting came with some recommendations on what the new way of doing things is like a link to a web page.

WARNING: Storing migrations in 'jars' is not recommended, and default scanning of this location may be deprecated in a future release
Flyway OSS Edition 10.11.0 by Redgate

@espizo
Copy link

espizo commented May 26, 2024

I'm not sure why it is not reccomended, but the warning can be removed with:
-locations="filesystem:./sql"
See https://documentation.red-gate.com/fd/locations-224919725.html

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

3 participants