Does anyone have a script for export db changes only?

Hi,


I’m using Liquibase 2.0.5.  I have the following process:


  1. Export LIquibase changes to XML file.

  2. Log in to database and run some db command (e.g. “ALTER TABLE …”)

  3. Export the change made in step 2 as a Liquibase changeset.


My question is, how do I do step 3?  I use the following script to do step 1 …


/opt/liquibase/liquibase --driver=com.mysql.jdbc.Driver </div>

      --classpath=~/.m2/repository//mysql/mysql-connector-java/5.1.15/mysql-connector-java-5.1.15.jar </div>

      --changeLogFile=~/db.changelog.xml </div>

      --url=“jdbc:mysql://localhost:3306/db” </div>

      --username=user </div>

      --password=pass </div>

      generateChangeLog


Thanks, - Dave