Goose

Pressly Inc. · Pressly.Goose

A database migration tool. Supports SQL migrations and Go functions.

Goose is a database migration tool. Both a CLI and a library. Manage your database schema by creating incremental SQL changes or Go functions. Features - Works against multiple databases: - Postgres, MySQL, SQLite, YDB, ClickHouse, MSSQL, Vertica, and more. - Supports Go migrations written as plain functions. - Supports embedded migrations. - Out-of-order migrations. - Seeding data. - Environment variable substitution in SQL migrations. - ... and more.

winget install --id Pressly.Goose --exact --source winget

Latest 3.27.0

Release Notes

What's Changed Added

  • Preliminary Spanner dialect support (#966) Changed
  • Minimum Go version is now 1.25
  • SQL migration templates no longer include StatementBegin and StatementEnd annotations. These are only needed for complex statements containing semicolons (e.g., stored procedures). See docs for details.
  • Various dependency upgrades Other
  • Added formatting for YDB table names to include folder (#1007)
  • Fix tests for StarRocks 3.5 (#1024)
  • CI improvements (#1000, #1005, #1008)

Installer type: portable

Architecture Scope Download SHA256
x64 Download C73E4F4BC52E74694831E982B5592FD194376E981174A1A6B99F7A21C3345E60
arm64 Download DA482EA3F7180C7FFA6E77853B83F38B9CDC0B8FCE3D96255318056CE66C2115

Details

Homepage
https://github.com/pressly/goose
License
MIT
Publisher
Pressly Inc.
Support
https://github.com/pressly/goose/issues
Copyright
Original work Copyright (c) 2012 Liam Staskawicz Modified work Copyright (c) 2016 Vojtech Vitek Modified work Copyright (c) 2021 Michael Fridman, Vojtech Vitek
Moniker
goose

Tags

databasedatabase-migrationsgogolangmigrationmigrationsmysqlpostgrespostgresqlschemasqlsqlite

Older versions (4)

3.26.0
Architecture Scope Download SHA256
x64 Download 5CBE8B6CA461AC92A289650B6E0D558023A207EEC7D7511786CA7A6FC75A3C9B
arm64 Download 68D3D75BDD7FFBC5847B34FECA4F77671856F00BB395CB3E3DB55153162BD3E8
3.25.0
Architecture Scope Download SHA256
x64 Download 8FAF81AF4E8AFA73F1ED04608B86787228F33C7D8C1B251D3ED9C3A38DE94818
arm64 Download F1847B16294745FFD9EF84B1669471E0D2DB4DB089BD9ADD2ED4F3A7E2F3E299
3.24.3
Architecture Scope Download SHA256
x64 Download EF9C0C43339C1A0E53F28ED92D686EFC481E080AC41E5A74F7125C8A4717539C
arm64 Download 49C153EC536BA85D9687E6CD1362E65262AE672B67CBBFA0EA700A91510D2D00
3.24.2
Architecture Scope Download SHA256
x64 Download 609BBA293C03473D7AF6C586F88FDE15FAEA0B9C101715968DAC5F9DB6C703E5
arm64 Download 5EE26C69C8AB6CF0E7B24F01F71D6FA61B5258D581ABFFB78185CF331CCC1BA6