Hello,
I use Liquibase 4.14.0 (the only version that works for me because of other issues).
I have a changeset as an .sql file with Liquibase header. It was already applied and registered in DATABASECHANGELOG database before.
Now I changed the changeset and manually applied the .sql file to my database, without the use of Liquibase. (I know it does not correspond to best practicies of Liquibase, but this is real life situation).
I want to update the checksum of my registered changeset, so that it is not applied again when I execute update command next time. What Liquibase command should I use?
I tried changelog-sync and mark-next-changeset-ran, but both commands seems to work with new changesets only. If changeset is already registered, both commands just skip it.
Of course, I can manually delete the registration of my changeset from DATABASECHANGELOG and the use any of the commands above. But it would be great to have a ‘legal’ way to update the checksum with direct access to the registration table.
Any idea?
-
Learn
-
Resources
-
Free Tools
OSS Risk Scanner Database DevOps Risk AssessmentCheat Sheets
Snowflake + Liquibase Databricks + Liquibase -
eBooks
6 Liquibase Community Risks & How to Avoid Guide: SOC 2 Compliance at the Database Layer Guide: Quantify the Value of Liquibase Secure -
Comparison Guides
Liquibase vs. Flyway Liquibase vs. Bytebase Liquibase Community vs Liquibase Secure
-
- Quickstart
- Get Started
- Documentation
- University
-
Resources
- Connect
- Contribute
- Join
- Blog