liquibase.exception.ValidationFailedException: Validation failure on upgrade from KC-17.0.1 -> KC-18.0.2

Am trying to upgrade KC from v17.0.1 to v18.0.2 on Postgres14. Am getting the following error:

Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
1 change sets check sum
META-INF/jpa-changelog-14.0.0.xml::14.0.0-KEYCLOAK-18286-supported-dbs::keycloak was: 8:f43dfba07ba249d5d932dc489fd2b886 but is now: 8:c0f6eaac1f3be773ffe54cb5b8482b70

at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:296)
at liquibase.Liquibase$16.run(Liquibase.java:1988)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.Liquibase.runInScope(Liquibase.java:2405)
at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:1978)
at org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider.lambda$getLiquibaseUnrunChangeSets$0(QuarkusJpaUpdaterProvider.java:297)

Can’t seem to figure out a resolution for this. Any ideas? What does this error mean?

Am using --spi-connections-jpa-default-migration-strategy=update cmd line option here. I noticed that the KC-18 does not update databasechangelog table which has the old check-sum from KC-17.