springboot 使用Flyway管理数据库版本,启动时报以下错误:
Caused by: org.flywaydb.core.api.FlywayException: Wrong migration name format: V1_20210708.sql(It should look like this: V1.2__Description.sql)
解决方案:
这是因为V1 与后面内容中间包含两个英文状态下的下划线,而不是一个
正确写法:V1__20210708.sql
springboot 使用Flyway管理数据库版本,启动时报以下错误:
Caused by: org.flywaydb.core.api.FlywayException: Wrong migration name format: V1_20210708.sql(It should look like this: V1.2__Description.sql)
解决方案:
这是因为V1 与后面内容中间包含两个英文状态下的下划线,而不是一个
正确写法:V1__20210708.sql