Liquibase: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==References== * [https://dba-presents.com/index.php/liquibase/46-database-independent-script-in-liquibase Database-Independent Script in Liquibase] * [https://github.com/medi...")
 
No edit summary
Line 1: Line 1:
== Path Settings ==
<syntaxhighlight lang="bash">
export MYSQL_HOME=/usr/local/mysql
export PATH=$PATH:$MYSQL_HOME/bin
</syntaxhighlight>
== Configuration ==
<syntaxhighlight lang="bash">
mkdir -p $HOME/.chorke/etc/liquibase/init
cp ./src/test/resources/liquibase/*.properties $HOME/.chorke/etc/liquibase/init
cd $HOME/.chorke/etc/liquibase/init
explorer .
</syntaxhighlight>
== Migration ==
<syntaxhighlight lang="bash">
mvn clean install -Pdev,log
mvn clean install -Pdev,syn
mvn clean install -Pdev,upd
mvn clean install -Pdif
mvn clean install -Pqac,syn
mvn clean install -Pqac,upd
mvn clean install -Puat,syn
mvn clean install -Puat,upd
mvn clean install -Ppro,syn
mvn clean install -Ppro,upd
mvn clean install -Ppro,del
mvn clean install -Ppro,rol -chorke.tag=20180806
</syntaxhighlight>
==References==
==References==
* [https://dba-presents.com/index.php/liquibase/46-database-independent-script-in-liquibase Database-Independent Script in Liquibase]
* [https://dba-presents.com/index.php/liquibase/46-database-independent-script-in-liquibase Database-Independent Script in Liquibase]
* [https://github.com/medisysco/medisys-dbms-change Liquibase Migration Example]
* [https://github.com/medisysco/medisys-dbms-change Liquibase Migration Example]
* [http://docs.medisys.com.my/usermanual/liquibase/  Liquibase Documentation]
* [http://docs.medisys.com.my/usermanual/liquibase/  Liquibase Documentation]

Revision as of 00:58, 19 September 2018

Path Settings

export MYSQL_HOME=/usr/local/mysql
export PATH=$PATH:$MYSQL_HOME/bin

Configuration

mkdir -p $HOME/.chorke/etc/liquibase/init
cp ./src/test/resources/liquibase/*.properties $HOME/.chorke/etc/liquibase/init
cd $HOME/.chorke/etc/liquibase/init
explorer .

Migration

mvn clean install -Pdev,log
mvn clean install -Pdev,syn
mvn clean install -Pdev,upd
mvn clean install -Pdif

mvn clean install -Pqac,syn
mvn clean install -Pqac,upd

mvn clean install -Puat,syn
mvn clean install -Puat,upd

mvn clean install -Ppro,syn
mvn clean install -Ppro,upd

mvn clean install -Ppro,del
mvn clean install -Ppro,rol -chorke.tag=20180806

References