How to run Liquibase to genereate update SQL for KFS upgrades.
Step-by-step guide
Copy the liquibase.properties file into the specific version folder.
For example,
cp liquibase.properties kfs/work/db/upgrades/5.2_5.3/db
Ensure that the liquibase jar file is available
It is usually in the upgrades/<version> folders
$ ls kfs/work/db/upgrades/5.2_5.3/liquibase*
/kuali/projects/dave/kfs53/work/db/upgrades/5.2_5.3/liquibase-2.0.5.jar
Run liquibase from the db directory
cd kfs/work/db/upgrades/5.2_5.3/db
java -jar ../liquibase-2.0.5.jar --logLevel=debug --changeLogFile=master-data-script.xml updateSQL > updateSQLdata.sql
Repeat the above for each child folder (structure, data, constraint) that contains liquibase scripts.
Related articles