I notice the maven command “liquibase:diff” has a changelog. Why does it need one if it has a source DB and a target DB? How is the changelog used? The online docs and mvn liquibase:help don’t provide much detail.
mvn liquibase:diff -Dliquibase.changeLogFile=/db/changelog/changelog01.h2.sql -Dliquibase.diffTypes=“tables,views,columns,indexes,foreignkeys,primarykeys,uniqueconstraints,data” -Dliquibase.diffChangeLogFile=src/main/resources/db/changelog/mydiff.h2.sql -Dliquibase.url=jdbc:h2:~/qa -Dliquibase.username=admin -Dliquibase.password= -Dliquibase.referenceUrl=jdbc:h2:~/dev -Dliquibase.referenceUsername=admin -Dliquibase.referencePassword=