Search code examples
liquibasechecksum

Can Liquibase ignore checksums for a single changeset?


I’m using Liquibase via the Gradle-Liquibase (v 1.1.1) plugin. I have the following changeset …

<changeSet id="create_my_stored_proc" author="davea" dbms="mysql" runAlways="true">
    <sqlFile endDelimiter="//" path="src/main/resources/scripts/create_my_stored_proc.sql" stripComments="true"/>
</changeSet>

Is it possible to set something such that checksums are ignored for this changeset only? The underlying procedure is in a state of flux that could be repeatedly updated and rather than create a new changeset each time, I would like the existing one to run upon every Liquibase build.


Solution

  • You can add the runAlways and/or runOnChange attributes.