Liquibase® version 3.8.2 is now available! Get it for free.
News 5 Ways to Fix a Bad Database Change in Liquibase
04 Dec 2019

- and/or -

All Previous Posts >>
Achieving Continuous Delivery at Fidelity Investments with IBM UrbanCode and Datical

Liquibase First Steps

In this tutorial, you will learn how to get up and running with Liquibase.

Download and Extract Liquibase

Download Icon

Begin by downloading the Liquibase CLI tool

You can use one of the following two installation guides depending on your platform:

View the Liquibase Documentation for more information on other ways you can download and install Liquibase.

Configure Liquibase

Liquibase allows you to specify options on the command line, which means the Liquibase CLI does not require configuration.

However, creating a liquibase.properties file allows you to input default values so you don’t have to specify them in the CLI unless you want to. Liquibase will always override a liquibase.properties file in favor of a CLI command.

View the Creating and Configuring a liquibase.properties file topic for more information.

Configure Icon

Choose your Path

There are two ways Liquibase allows you to define changes to the database:

Liquibase Functions

XML Icon

Choosing this path means that your changes are defined in XML, JSON or YAML formats. Liquibase will create XML formatted changelogs that define your changeSets, then generate and deploy SQL to your database based on those changeSets. Liquibase will also track all database migrations in your changelog.

SQL Format

Choosing this path means that you can define your own changes in SQL format, then deploy those changes to your database automatically. Liquibase supports plain SQL scripts designed to be custom or specific to your database.

SQL Icon

Summary

In this tutorial we covered:

  • Downloading & Extracting Liquibase
  • How to Configure Liquibase
  • Choosing your Path

Next Up: