How to configure liquibase not to include file path or name for calculating checksum?

dharshan picture dharshan · Nov 11, 2013 · Viewed 15.7k times · Source

I found that liquibase uses the full path of the change log file to calculate the checksum.

This behavior restricts to modify change log file names and tries to reapply the change sets again once renamed the file.

Is there a way to configure liquibase to use only the changelog id to calculate cuecksum?

Please provide your valuable thoughts.

Answer

Jens picture Jens · Nov 11, 2013

Use the attribute logicalFilePath of the databaseChangeLog tag.