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

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -