我使用Spring 2.0.4与Flyway 5.1.4一起使用。启动Spring应用程序时,我会得到警告Flyway.setCallbacks(FlywayCallback) has been deprecated and will be removed in FlywayUse Flyway.setCallbacks(Callback) instead.
这似乎是由Spring引起的,因为我自己不配置任何回调。是否有任何方法禁用此警告或防止其根本原因?
flyway_schema_history", but found "public"."schema_version" instead.You are seeing this message because Flyway changed its default for flyway.table in version 5.0.0 to flyway_schema_historySet flyway.table=schema_version in your c
在微服务部署期间,我使用openshift、docker、springboot和flyway。如果flyway在部署运行状况检查期间使用脚本数据库花费了大量时间,则会抛出此错误: Killing container with id docker//app:Conainter failed liveness
with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flywayat org.flywaydb.core.Flyway$1.execute(Flyway.java:196) ~[flyway-core-7.7.3.jar:na]
at org.flywaydb.core.Flyway$1.e
) on project springboot: org.flywaydb.core.api.FlywayException: Unable to connect to the database.现在,奇怪的是我不明白的是,如果我将所有信息添加到pom.xml中 <properties>
<flyway.user>databaseUser</flyway.user><flyway.password>databasePassword</