> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ClickHouse 自动 schema 迁移工具

> 了解 ClickHouse 的自动 schema 迁移工具，以及如何管理随时间变化的数据库 schema。

<div id="automatic-schema-migration-tools-for-clickhouse">
  ## 适用于 ClickHouse 的自动 schema 迁移工具
</div>

我们经常被问到：ClickHouse 有没有好用的 schema 迁移工具？对于可能会随时间变化的 ClickHouse 数据库 schema，管理它们的最佳实践又是什么？

ClickHouse 目前没有标准的 schema 迁移工具，但我们整理了以下已知支持 ClickHouse 的自动 schema 迁移工具列表 (排名不分先后) ：

* [Goose](https://github.com/pressly/goose)
* [Sqitch](https://sqitch.org/docs/manual/sqitchtutorial-clickhouse/)
* [Atlas](https://atlasgo.io/guides/clickhouse?utm_source=clickhouse\&utm_term=knowledge)
* [Bytebase](https://www.bytebase.com/)
* [Flyway](https://documentation.red-gate.com/fd/supported-databases-and-versions-143754067.html)
* [Liquibase](https://www.liquibase.com/)
* 一个名为 `clickhouse-migrations` 的[简单社区工具](https://github.com/VVVi/clickhouse-migrations)
* 另一个用 Go 编写的[社区工具](https://github.com/golang-migrate/migrate/tree/master/database/clickhouse)
* [Houseplant](https://houseplant.readthedocs.io)
