Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How to run Liquibase to genereate update SQL for KFS upgrades.

Step-by-step guide

  1. Copy the liquibase.properties file into the specific version folder.

    For example, 

    cp liquibase.properties kfs/work/db/upgrades/5.2_5.3/db

  2. 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

  3. 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

  4. Repeat the above for each child folder (structure, data, constraint) that contains liquibase scripts.

 

  • No labels