问题
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