Skip to content
Snippets Groups Projects
Commit 06aeab53 authored by Ryan Senior's avatar Ryan Senior
Browse files

Add clearCheckSums to `migrate force`

Now whenever running migrate force, it will remove the MD5 checksums
in the databasechangelog table and recalculate them. This is mostly
useful for developers running code from several different branches.

Fixes #6372
parent e4731326
No related branches found
No related tags found
No related merge requests found
......@@ -181,6 +181,7 @@
without rolling back the entirety of changes that were made. (If a single statement in a transaction fails you
can't do anything futher until you clear the error state by doing something like calling `.rollback`.)"
[conn, ^Liquibase liquibase]
(.clearCheckSums liquibase)
(when (has-unrun-migrations? liquibase)
(doseq [line (migrations-lines liquibase)]
(log/info line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment