liquibase diffChangeLog does not reflect any changes -
i´ve been able generate changelog current database using following command:
liquibase --driver=org.hsqldb.jdbc.jdbcdriver --classpath=c:\i2s-devenv\apps\hsqldb-2.2.9\lib\hsqldb.jar --changelogfile=c:\i2s-devenv\changelog.xml --url="jdbc:hsqldb:hsql://localhost:9901/test_db" generatechangelog
now, i've made changes in database (drop tables) , want update changelog reflect changes. i've execute following command:
liquibase --driver=org.hsqldb.jdbc.jdbcdriver --classpath=c:\i2s-devenv\apps\hsqldb-2.2.9\lib\hsqldb.jar --changelogfile=c:\i2s-devenv\changelog2.xml --url="jdbc:hsqldb:hsql://localhost:9901/test_db" diffchangelog --referenceurl="jdbc:hsqldb:hsql://localhost:9901/test_db"
what wrong approach. can not see differences in changelog.
thanks.
tiago
you comparing database itself. in order compare 2 databases, have have --url argument , --referenceurl different databases.
--url="jdbc:hsqldb:hsql://localhost:9901/test_db" --referenceurl="jdbc:hsqldb:hsql://localhost:9901/test_db"
Comments
Post a Comment