更新时间:2023-11-30 19:53:16
这是正常现象(至少在beta中是这样),因为更新操作更改了创建实体的Liquibase迁移文件20161022122700_added_entity_Libro.xml
,因此Liquibase会比较更新后的校验和文件,其中包含在更新之前首次运行迁移时在数据库中记录的校验和.
It's normal (at least in beta) because the update operation changed the Liquibase migration file 20161022122700_added_entity_Libro.xml
that created the entity, so Liquibase compares the checksum of the updated file with the checksum that was recorded in your database when migration was first run before update.
因此,您有以下选择:
databasechangelog
表中手动清除校验和mvn liquibase:clearCheckSums
命令.确保您的pom.xml
包含用于访问数据库的maven-liquibase-plugin的正确配置.databasechangelog
table of your database(s)mvn liquibase:clearCheckSums
command against your database(s). Make sure your pom.xml
includes correct configuration for maven-liquibase-plugin to access your db.由于此功能是测试版,因此可能会解决此问题.
As this feature is beta, this issue is probably going to be addressed.