Dbmate

Dbmate 2.37.0

A lightweight, framework-agnostic database migration tool

  • By Adrian Macneil
  • Open Source
  • Updated Oct 18, 2026
Download for Windows

About Dbmate

A lightweight, framework-agnostic database migration tool

What's new in 2.37.0

Notable changes
- Go 1.27.2 and updated golang.org/x/net and golang.org/x/crypto, which resolve the govulncheck findings in v2.36.0 (#857).
- New --migration-lock flag serializes concurrent migration runs on PostgreSQL (#848).
- Migration files with multiple migrate:up/migrate:down sections now work on SQLite, MySQL and PostgreSQL. The version is recorded once per file (#824), rollback runs sections from last to first (#856), and Applied:/Rolled back: print only after every section succeeds (#851, #856).
What's Changed
- Add --migration-lock to serialize concurrent migration runs (PostgreSQL) by @dgsardina in #848
- fix: check go.mod toolchain on fork pull requests instead of syncing by @bradykimball-pnnl in #858
- fix: update Go toolchain and security dependencies by @bradykimball-pnnl in #857
- build(deps): bump Homebrew/actions/setup-homebrew from 2026.09.13.1 to 2026.10.12.1 by @dependabot[bot] in #855
- build(deps-dev): bump handlebars from 4.7.9 to 4.7.10 in /typescript by @dependabot[bot] in #860
- build(deps-dev): bump brace-expansion from 1.1.18 to 1.1.21 in /typescript by @dependabot[bot] in #861
- build(deps): bump alpine from 3.24.1 to 3.24.2 by @dependabot[bot] in #843
- fix(sqlite): use database file path when dropping databases by @snooze26h in #850
- fix: handle long lines when processing schema SQL by @sagar5412 in #862
- fix: insert migration version once for multi-section migration files by @youdie006 in #824
- fix: log Applied only after a migration section succeeds by @MrBeldum in #851
- fix: roll back multi-section migrations in reverse order by @AdamMagued in #856
- v2.37.0 by @dossy in #863
New Contributors
- @dgsardina made their first contribution in #848
- @bradykimball-pnnl made their first contribution in #858
- @snooze26h made their first contribution in #850
- @sagar5412 made their first contribution in #862
- @youdie006 made their first contribution in #824
- @AdamMagued made their first contribution in #856
Full Changelog: v2.36.0...v2.37.0

Full release notes »

Technical details

PublisherAdrian Macneil
Version2.37.0
Release date2026-10-18
LicenseMIT
Installer typeportable
Architecturex64
Package IDamacneil.dbmate

Links & install command

Install Dbmate from the command line with Windows Package Manager (winget):

winget install --id=amacneil.dbmate -e

clickhousedatabasedatabase-migrationsdatabase-schemadockergogolangmigrationmigrationsmysqlnodejspostgrespostgresqlpythonsqlite

Older versions

  • 2.36.0
  • 2.35.1
  • 2.35.0
  • 2.34.1
  • 2.34.0
  • 2.33.0
  • 2.32.0
  • 2.31.0
  • 2.30.0