Flyway: Unable to find path for sql migrations

2019-08-13 03:48发布

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.

标签: flyway
2条回答
SAY GOODBYE
2楼-- · 2019-08-13 04:04

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.

查看更多
可以哭但决不认输i
3楼-- · 2019-08-13 04:24

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

查看更多
登录 后发表回答