根据错误信息在application.yml文件中加入:
spring:
flyway:
baseline-on-migrate: true清理flyway缓存。执行mvn flyway:clean,然后再执行mvn flyway:migrate即可。
版权声明:《 集成flyway反复报错:Found non-empty schema(s) "PUBLIC" but no schema history table. 》为admin原创文章,转载请注明出处!
最后编辑:2022-9-6 10:09:05