Skip to content

tulusyosef/liquibase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liquibase

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 liquibase init 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.

Command

Liquibase Update

run the mvn liquibase:update command. Default profile is mysql profile.

run the mvn liquibase:update -P mysql command for update in MySQL environment.

run the mvn liquibase:update -P dev command for update in PostgreSQL Development environment.

run the mvn liquibase:update -P prod command for update in PostgreSQL Production environment.

run the mvn liquibase:update -P mssql command for update in SQL Server environment.

Liquibase Update History

run the mvn liquibase:history command.

Liquibase rollback

rollback by tag

run the mvn liquibase:rollback -Dliquibase.rollbackTag="<name tag>" command.

rollback by count

run the mvn liquibase:rollback -Dliquibase.rollbackCount=<int> command.

Liquibase Forum

Liquibase Blog

Get Support & Advanced Features

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%