flyway-docker icon indicating copy to clipboard operation
flyway-docker copied to clipboard

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

Open fatbasstard opened this issue 2 years ago • 2 comments

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?

fatbasstard avatar Feb 16 '24 19:02 fatbasstard

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

agirorn avatar Apr 11 '24 17:04 agirorn

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

espizo avatar May 26 '24 09:05 espizo