Applies to:
- Liquibase Pro
- Liquibase Open Source (Community)
Conditions:
- Liquibase version 4.23 or greater
Question:
Why does it show the checksums like 9:1234abc... instead of 8:4321cba...?
Why does it show checksum errors after using or testing v4.23 (or higher) and then using an older version of Liquibase?
Answer:
Liquibase updated the checksum algorithm in version 4.23, which changed the checksum version from 8 to 9. More information can be found on the Changeset Checksums page. The version is shown at the beginning of the checksum value in the DATABASECHANGELOG table.
For example:
- If the checksum starts with an 8 (
8:4321cba...
), this checksum was generated via Liquibase v3.8 through Liquibase v4.21.1. - If the checksum starts with a 9 (
9:1234abc...
), this checksum was generated via Liquibase v4.23 or higher.
Once using version 4.23 or greater, the checksum values will automatically get updated to version 9.
It is not recommended to use multiple versions of Liquibase. All connected environments/databases should be on the same Liquibase version.
If multiple Liquibase versions are targeting a single DATABASECHANGELOG table, checksum errors will occur due to the checksum version difference.
Comments
0 comments
Article is closed for comments.