The purpose of this cli is using Liquibase from the console without any extra configuration.
- Java is required.
Open your console of preference and run: npm install -g liquibase-cli
For creating a new migrations project run:
liquibase-cli -p
or liquibase-cli --project
and it will create a new migration project for mysql as default.
For creating a new migration file (changeset) run:
liquibase-cli -m FileName
or liquibase-cli --migration FileName
- MySQL