TiloBox
Back to directory
dbmate project preview

dbmate

A lightweight, framework-agnostic database migration tool written in Go.

LicenseMIT
GitHub stars5.5k
Last commit1 weeks ago
Tags6 topics
Database MigrationsFramework AgnosticDeveloper ToolsSingle BinaryRaw SqlGolang
Overview

Why consider dbmate?

dbmate is a framework-agnostic database migration tool packaged as a single binary in Go. Designed to work identically across Node.js, Python, Ruby, and Go projects, dbmate executes raw SQL migration files without framework dependencies or runtime language installs.

Guided learning

Learn dbmate by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
In this guide2 sections

Overview of dbmate

dbmate provides clean schema.sql dumps and tracks schema migrations in a standardized schema_migrations table.

Quickstart

bash
1dbmate new create_users_table
2dbmate --url "postgres://postgres:pass@localhost:5432/mydb?sslmode=disable" up

dbmate is licensed under the permissive MIT License.

Related tools

More options with a similar category or technology profile.

dbmate FAQs

dbmate is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

dbmate is listed under the MIT license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

dbmate is listed as an alternative to Liquibase. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.