Why Liquibase doesn't check data in the DATABASECHANGELOG table in diff mode?

Hello,

It’s very strange for me: in the documentation (http://www.liquibase.org/documentation/diff.html)  I’ve seen that Liquibase should check “Version Differences” in diff mode, but in reality it doesn’t check.

What is the “version differences” in that case? If it’s only structures’ difference then I never know that somebody can deploy some changeSet with only DML operations and diff command always will return me “Product Version: EQUAL”.

How I can compare Liquibase’s repository table (DATABASECHANGELOG) in two databases?

Thanks.

The diff logic does only check the database structure, not the contents of the tables, including the databasechangelog table. I can see where it would be helpful to see that there are changes added or missing from one database or the other.


I created https://liquibase.jira.com/browse/CORE-1523 to track the feature.


Nathan