Dbmate is a command-line tool for managing database schema migrations. It lets developers create, run and roll back versioned SQL migration files against their database, without tying the project to a particular web framework. It is aimed at teams who keep their schema changes in plain SQL under version control.
The source code is public under the MIT license, so it can be inspected, modified or built from source. The project is written in Go and tagged for ClickHouse, PostgreSQL-style schema work and Docker use. It is distributed for Windows through winget.
Alternatives to Dbmate
Products that do a similar job in Developer Tools.
pdfcpu
Command-line PDF processing tool and Go library
micro
terminal-based text editor with mouse support and familiar keybindings
wtf
Terminal dashboard for personal info and DevOps status
MySQL Shell
Interactive shell for running JavaScript, Python or SQL against MySQL
q
Command-line tool for running SQL queries on CSV and delimited text files
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
ripgrep
command-line search tool that finds regex matches across directory trees