/liquibase

Main Liquibase Source

Primary LanguageJavaApache License 2.0Apache-2.0

Liquibase Build and Test Quality Gate Status

Liquibase helps millions of teams track, version, and deploy database schema changes. It will help you to:

  • Control database schema changes for specific versions
  • Eliminate errors and delays when releasing databases
  • Automatically order scripts for deployment
  • Easily rollback changes
  • Collaborate with tools you already use

This repository contains the main source code for Liquibase. For more information about the product, see the main project website.

Liquibase Automation and Integrations

Liquibase Core works with the following databases: Apache Derby, CockroachDB, Firebird, H2, HSQL, Informix, InterBase, MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, SQLite, Sybase Anywhere, Sybase Enterprise. The databases that require extensions are: Azure Cosmos DB, Cassandra, Cache, DB2i, Hibernate, Impala/Hive, MaxDB, MongoDB, Redshift, SAP HANA, SQLFire, Snowflake, Teradata, Vertica, VoltDB. See Liquibase Database Tutorials.

Liquibase can be integrated with Maven, Ant, Gradle, Spring Boot, and other CI/CD tools. You can use Liquibase GitHub Actions, Liquibase and Jenkins with Spinnaker, and many different workflows.

Real-time monitoring and visibility

Try Liquibase Hub to get real-time information about your deployments, an overview of recent commands for the specific database you’re working on, and a place for your team collaboration.

Install and Run Liquibase

System Requirements

Liquibase system requirements can be found on the Download Liquibase page.

An H2 in-memory database example for CLI

  1. Download and run the appropriate installer.
  2. Make sure to add Liquibase to your PATH.
  3. Copy the included examples directory to the needed location.
  4. Open your CLI and navigate to your examples/sql or examples/xml directory.
  5. Start the included H2 database with the ./start-h2 command.
  6. Run the liquibase update command.
  7. Optionally, follow the prompt for your email to register for Liquibase Hub.
  8. Run the liquibase history command.
  9. If you entered your email, check the report link and the output of the history command to see they match.

See also how to get started with Liquibase in minutes or refer to our Liquibase Installation documentation page for more details.

Documentation

Visit the Liquibase Documentation website to find the information on how Liquibase works.

Courses

Learn all about Liquibase by taking our free online courses at Liquibase University.

Want to help?

Want to file a bug or improve documentation? Excellent! Read up on our guidelines for contributing!

Contribute code

Use our step-by-step instructions for contributing code to the Liquibase open source project.

Join the Liquibase Community

Earn points for your achievements and contributions, collect and show off your badges, add accreditations to your LinkedIn. Learn more about the pathway to Legend and benefits. Enjoy being part of the community!

Liquibase Extensions

Provide more database support and features for Liquibase.

License

Liquibase is licensed under the Apache 2.0 License.

Liquibase Pro, Liquibase Business, and Liquibase Enterprise, with additional features and support, is commercially licensed.

LIQUIBASE is a registered trademark of Liquibase Inc.

Liquibase Forum

Liquibase Blog

Get Support & Advanced Features