Flyway: Unable to find path for sql migrations

こ雲淡風輕ζ 提交于 2019-12-11 08:43:27

问题


While running flyway migrate I am getting following error:

Unable to find path for sql migrations: /path to migration folder/

I am trying to following command: java -cp com.googlecode.flyway.commandline.Main migrate

I also added the migration folder in the classpath and specified the baseDir directory. But nothing seems to help. Any help would be greatly appreciated.


回答1:


It looks like this is an open bug. I've submitted a question asking for workarounds here, but in the meantime please star the issue in the bug tracker.




回答2:


If you are looking for an alternative migrations framework, try Mite. I've had good success with it. It's Sql based so you don't have to learn a new framework and language agnostic because it's just a utility.

https://github.com/soitgoes/mite



来源:https://stackoverflow.com/questions/8811506/flyway-unable-to-find-path-for-sql-migrations

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!