🗂️ Navigation

DbMate

A lightweight, framework-agnostic database migration tool.

Visit Website →

Overview

DbMate is a lightweight and versatile database migration tool. It is written in Go but is designed to be language and framework-agnostic. It uses plain SQL for migrations and provides a simple command-line interface to manage schema changes, dump the schema, and handle environment variables for configuration.

✨ Key Features

  • Framework and language agnostic
  • Plain SQL migrations
  • Schema dumping to a single file
  • Configuration via environment variables
  • Support for multiple databases (PostgreSQL, MySQL, SQLite)

🎯 Key Differentiators

  • Simplicity and minimalism
  • Language and framework agnostic
  • Schema dumping feature

Unique Value: Provides a dead-simple, language-agnostic way to handle SQL migrations and maintain a version-controlled schema file, without the complexity of larger tools.

🎯 Use Cases (3)

Managing database migrations in polyglot environments Simple schema versioning for projects of any size Keeping a single `schema.sql` file up-to-date

✅ Best For

  • Lightweight database migrations for microservices.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Teams requiring a GUI, advanced rollback features, or declarative schema management.

🏆 Alternatives

golang-migrate/migrate Flyway Liquibase

DbMate is significantly simpler than tools like Flyway or Liquibase, focusing on a minimal set of essential features, which makes it very easy to learn and use.

💻 Platforms

CLI (Linux, macOS, Windows)

✅ Offline Mode Available

🔌 Integrations

Docker

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: DbMate is free and open-source.

Visit DbMate Website →