使用flyway出现如下异常:
org.flywaydb.core.api.FlywayException: Validate failed: Detected applied migration not resolved locally: 20200909101922

问题出现原因:
是因为通过flyway_schema_history
表对本地sql文件进行连续性验证的结果,关闭验证即可。
在配置文件中关闭:

flyway:
locations: classpath:/db/migration
table: _schema_history
schemas: upupor
baseline-on-migrate: true
validate-on-migrate: false