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 – copying project files to a new directory, setting up a project, and starting the H2 in-memory database. (Liquibase 4.7.0 and later versions).

Subcommands

Command Description
init copy

The copy subcommand copies project files from a source directory to a target directory.

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