-
Create MySQL database 'liquibase-demo'
docker run --name liquibase-demo -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=liquibase_demo -p 3306:3306 mysql:5.6
-
Perform script execution
./mvnw install -Pupdate -Dliquibase.propertyFile=param.properties
-
Perform tag 1.0.0
./mvnw install -Ptag -Dliquibase.propertyFile=param.properties -Dliquibase.tag=1.0.0
-
Perform rollback
./mvnw install -Prollback -Dliquibase.propertyFile=param.properties -Dliquibase.rollbackTag=1.0.0