init

The init command sets up Liquibase configuration files and parameters required to run Liquibase and access a database. The command works with subcommands for specific functions – connecting to Liquibase Hub, getting a Liquibase Pro trial key, setting up a project. (Liquibase 4.7.0 and later versions).

Subcommands

Command Description
init hub The hub subcommand connects your local Liquibase activity to Liquibase Hub with an API key and sets up the Liquibase environment to use Liquibase Hub.
init project The project subcommand finds or creates your project folder with the changelog and Liquibase properties files and delivers an example H2 database to help you get started.
init start-h2 The start-h2 subcommand starts the in-memory H2 database included in the Liquibase installation package to get started and test how Liquibase works.

Related links