来自依赖项的Spring Boot Flyway脚本

时间:2019-10-10 06:55:46

标签: spring spring-boot flyway

由于我的模块中很少有人使用相同的flyway脚本,因此我将其提取到了单独的jar模块中。 因此,现在我只导入此依赖项,问题是如何设置飞行路线位置以搜索那些脚本?

 spring.flyway.locations=classpath:migration-scripts-1.0-SNAPSHOT/db/migrations

??

0 个答案:

没有答案