Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Istanbul Release
Description
CPS database schema migration script is not able to update the schema from Honolulu version to Istanbul.
Steps to reproduce:
- Have Honolulu database schema in place and functional.
- Upgrade to Istambul code base (code currently in master) and start CPS
Actual behaviour:
CPS does not start and raises Liquibase Validation exception:
2021-03-31 06:58:07.005 ERROR [,,,] 13975 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/springframework/boot/autoconfigure/liquibase/LiquibaseAutoConfiguration$LiquibaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.ValidationFailedException: Validation Failed: 1 change sets check sum changelog/db/changes/03-loadData-schema-set.yaml::3.2::cps was: 8:2df63cb61c7f736b9ad12cfc80e8df43 but is now: 8:d587f45b4ef28341b0fff679fb035c6b
Expected behaviour:
Database schema migration script is able to upgrade the schema.