Allow CheckSum calculations for CustomChanges

Description

A CustomChange implementation might handle input files, much the same as LoadDataChange, for example.

There is no way though that the CustomChange implementation can include this data in the check sum calculation. Thus, if the data is modified, Liquibase will not notice that and will not fail or re-execute the change when runOnChange is set to "true".

I have attached an implementation of CustomChangeWrapper that rectifies this situation, though the check sum calculation had to be revised. You might want to switch to this new check sum calculation anyway, since it is superior in functionality to the one in Liquibase and offers a clean interface.

Environment

Any

Attachments

4

Activity

Show:

Details

Reporter

Components

Affects versions

Priority

Created October 20, 2014 at 11:22 AM
Updated October 20, 2014 at 11:22 AM