Liquibase

跟踪、版本和部署数据库变化。这是 Liquibase 的主要源代码。「Track, version, and deploy database changes. It's main Liquibase Source」

Github stars Tracking Chart

Liquibase

Liquibase 帮助数以百万计的团队跟踪、版本和部署数据库模式变化。它将帮助你。

  • 控制特定版本的数据库模式变化
  • 消除发布数据库时的错误和延误
  • 自动安排脚本的部署
  • 轻松地回滚变化
  • 与你已经使用的工具进行协作

这个资源库包含 Liquibase 的主要源代码。关于该产品的更多信息,请参见 项目主网站

Liquibase 自动化和集成

Liquibase 核心与下列数据库一起工作:Apache Derby, CockroachDB, Firebird, H2, HSQL, Informix, InterBase, MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, SQLite, Sybase Anywhere, Sybase Enterprise。需要扩展的数据库有:Azure Cosmos DB, Cassandra, Cache, DB2i, Hibernate, Impala/Hive, MaxDB, MongoDB, Redshift, SAP HANA, SQLFire, Snowflake, Teradata, Vertica, VoltDB。参见 Liquibase 数据库教程

Liquibase 可以与 Maven、Ant、Gradle、Spring Boot 以及 CI/CD 工具集成。你可以使用 Liquibase GitHub Actions、Liquibase 和 Jenkins 与 Spinnaker,以及许多不同的工作流程。

实时监控和可见性

试试 Liquibase Hub,以获得关于你的部署的实时信息、你正在处理的特定数据库的最近命令的概览,以及你的团队协作的地方。

安装和运行 Liquibase

系统要求

Liquibase 的系统要求可以在 下载 Liquibase 页面找到。

一个用于 CLI 的 H2 内存数据库实例

  1. 下载并运行相应的安装程序
  2. 确保将 Liquibase 添加到你的 PATH 中。
  3. 把包含的例子目录复制到需要的位置。
  4. 打开你的 CLI 并导航到你的 examples/sql 或 examples/xml 目录。
  5. 用 ./start-h2 命令启动包含的 H2 数据库。
  6. 运行 liquidibase update 命令。
  7. 可以选择,按照提示输入你的电子邮件,注册 Liquibase Hub
  8. 运行 liquibase history 命令。
  9. 如果你输入了你的电子邮件,检查报告链接和历史命令的输出,看它们是否匹配。

请参阅如何 在几分钟内开始使用 Liquibase,或参考我们的 Liquibase 安装 文档页面以了解更多细节。

文档

访问 Liquibase 文档 网站,找到 Liquibase 如何工作的信息。

课程

通过参加我们在 Liquibase 大学 的免费在线课程,了解 Liquibase 的所有知识。

想要帮助?

想提交一个错误或改进文档?很好! 请阅读我们的 贡献指南!

贡献代码

使用我们的 步骤说明,为 Liquibase 开源项目贡献代码。

加入 Liquibase 社区

为你的成就和贡献赚取积分,收集并炫耀你的徽章,在你的LinkedIn上添加认证。了解更多关于通往传奇的途径和好处。享受成为社区的一部分吧。

Liquibase 扩展

为 Liquibase 提供更多的数据库支持和功能

许可证

Liquibase 是在 Apache 2.0 许可下授权的。

Liquibase ProLiquibase Business、和 Liquibase Enterprise 具有额外的功能和支持,是商业许可。

LIQUIBASE 是 Liquibase 公司的一个注册商标。

联系我们

Liquibase Forum

Liquibase Blog

Get Support & Advanced Features


Overview

Name With Ownerliquibase/liquibase
Primary LanguageJava
Program languageJava (Language Count: 11)
PlatformLinux, Mac, Unix-like, Windows
License:Apache License 2.0
Release Count130
Last Release Namev4.27.1 (Posted on )
First Release Name1.9.2 (Posted on )
Created At2011-07-08 20:08:20
Pushed At2024-04-19 22:21:36
Last Commit At2024-04-19 15:02:38
Stargazers Count4.4k
Watchers Count137
Fork Count1.8k
Commits Count13.2k
Has Issues Enabled
Issues Count1647
Issue Open Count543
Pull Requests Count2896
Pull Requests Open Count107
Pull Requests Close Count1164
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Liquibase Build and Test

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.

Contact us

Liquibase Forum

Liquibase Blog

Get Support & Advanced Features

To the top