Goose 是一款数据库迁移工具,支持 SQL 和 Go 编写迁移脚本,轻松搞定多数据库的模式管理。
- 兼容 Postgres, MySQL, SQLite, ClickHouse, MSSQL 等主流数据库
- 支持直接用 Go 函数写迁移逻辑
- 支持乱序迁移和嵌入式迁移
- SQL 迁移支持环境变量替换
详情见此:
https://www.opensourceprojects.dev/post/goose
- 兼容 Postgres, MySQL, SQLite, ClickHouse, MSSQL 等主流数据库
- 支持直接用 Go 函数写迁移逻辑
- 支持乱序迁移和嵌入式迁移
- SQL 迁移支持环境变量替换
详情见此:
https://www.opensourceprojects.dev/post/goose
Goose is a database migration tool that supports both SQL and Go-based migrations for managing schema changes across multiple databases.
- Works with Postgres, MySQL, SQLite, ClickHouse, MSSQL, and more
- Supports Go migrations written as plain functions
- Handles out-of-order migrations and embedded migrations
- Allows environment variable substitution in SQL migrations
Explore it here:
https://www.opensourceprojects.dev/post/goose
- Works with Postgres, MySQL, SQLite, ClickHouse, MSSQL, and more
- Supports Go migrations written as plain functions
- Handles out-of-order migrations and embedded migrations
- Allows environment variable substitution in SQL migrations
Explore it here:
https://www.opensourceprojects.dev/post/goose

5
27
248
20.2K













