1

We were upgrade our liquibase from 1.9.0.0 to 3.6.3. When running migration MD5SUM for 3.6.3 was updated but it was trying to re-run the previously executed changesets which were executed with liquibase 1.9.0.0. How do i run only updating checksum with without re-running the statements.

Thanks.

DilliBabu S
  • 53
  • 1
  • 9

2 Answers2

1

Liquibase has Command Line Interface. And the CLI has clearCheckSums command.

clearCheckSums clears all checksums and nullifies the MD5SUM column of the DATABASECHANGELOG table so they will be re-computed on the next database update.

changesets that have been deployed will have their checksums re-computed, and pending changesets will be deployed.

htshame
  • 6,599
  • 5
  • 36
  • 56
0

Posting a link to the answer on liquibase forums for other users if they encounter the same query ever in future.

Rakhi Agrawal
  • 827
  • 7
  • 14