dbmate

dbmate Alternatives

Dbmate is a free, open-source, language-independent migration tool built around plain SQL files and command-line workflows. Alternatives differ mainly in schema planning, deployment controls, database coverage, or PostgreSQL-specific safety features.

Choose based on your database and workflow: Atlas adds schema planning and checks, Goose adds Go migrations, and platforms such as Liquibase or DBmaestro add governance. PostgreSQL teams can consider node-pg-migrate or pgroll.

  1. AAtlas: declarative and versioned database schema workflowsAPIOpenFree

    Atlas can compare a database with a desired HCL, SQL, or ORM schema, then generate and execute a migration plan. It also lints and validates migrations, runs safety checks, and tests schemas and migrations. Dbmate instead centers on timestamped plain SQL files and command-line commands. Atlas has web and API options as well as self-hosted platforms.

    Trade-off: Atlas has paid plans from $9 per user monthly; dbmate is fully free and open source. Suits: Teams wanting planned schema changes, safety checks, and more than plain SQL files.

  2. GGoose: SQL migrations plus Go functionsAPIOpenFree

    Goose is both a command-line utility and a library. It supports incremental SQL changes and Go migration functions, with commands to apply, roll back, redo, reset, inspect, and version migrations. Dbmate is language-independent but uses plain SQL migration files. Goose SQL files use up and optional down annotations, with timestamp or sequential filenames.

    Trade-off: Goose's application functions are Go-specific; dbmate stays usable across many languages and frameworks. Suits: Go teams that want migration functions alongside SQL and detailed migration commands.

  3. LLiquibase: governed schema change management across many databasesAPIOpenFree

    Liquibase automates schema change management for CI/CD and supports more than 65 databases through Liquibase Secure, including PostgreSQL, Oracle, SQL Server, Snowflake, Databricks, and MongoDB. Its governed features include policy checks, identity-aware controls, drift detection, targeted rollbacks, and audit evidence. Dbmate has a smaller listed database set and SQL files.

    Trade-off: Liquibase Secure adds governed features beyond dbmate's simpler free, open-source workflow. Suits: Organizations needing broad database coverage, governance, and audit-ready delivery.

  4. NPnode-pg-migrate: PostgreSQL migrations in JavaScript, TypeScript, or SQLAPIOpenFree

    node-pg-migrate focuses on PostgreSQL and lets migrations use JavaScript, TypeScript, or SQL. Reversible operations can infer down migrations when a down function is omitted, and an up dry run prints SQL in a read-only transaction. Dbmate supports more database systems and languages but uses plain SQL files.

    Trade-off: It only targets PostgreSQL, while dbmate also lists MySQL, MariaDB, SQLite, and ClickHouse. Suits: PostgreSQL teams working in Node.js or TypeScript who want dry runs and inferred rollbacks.

  5. Ppgroll: reversible PostgreSQL changes with simultaneous schema versionsAPIOpenFree

    pgroll is an open-source command-line tool for PostgreSQL migrations designed to keep multiple schema versions available at once. It describes zero-downtime changes without locking the database, automatically backfills columns when needed, and can roll back an active migration. Dbmate supports more databases and general SQL migrations but does not list these versioned, lock-avoiding workflows.

    Trade-off: pgroll is PostgreSQL-only; dbmate supports several database engines and broader language stacks. Suits: PostgreSQL teams planning reversible changes while keeping old and new schemas available.

  6. RFRedgate Flyway: migration with schema diff and CI/CD automationAPIOpenFree

    Redgate Flyway offers a free plan, a 28-day trial, rollback support, schema diff, and CI/CD automation. It runs on Windows, Mac, Linux, and through an API.

    Trade-off: Flyway's paid offering and trial differ from dbmate's free open-source model. Suits: Teams wanting schema comparison and CI/CD features alongside migration and rollback.

  7. DMdb-migrate: Node.js framework for several database typesAPIOpenFree

    db-migrate is a Node.js database migration framework with global or local npm installation. Its documented databases include MySQL, PostgreSQL, sqlite3, MongoDB, and CockroachDB, and its CLI supports up, down, reset, create, and db commands. Dbmate is language-independent and also lists MariaDB and ClickHouse, with schema dumps and waiting commands.

    Trade-off: db-migrate is limited to Linux and self-hosted use; dbmate also supports macOS and Windows. Suits: Node.js users needing a migration framework with several SQL and NoSQL database adapters.

  8. BEBytebase Enterprise: database access, approvals, and audit controlAPIOpenFree

    Bytebase Enterprise is a web and API control plane for standardizing how teams and AI agents change, access, and audit databases. It provides role-based permissions, multi-level approvals, immutable audit logs, and query-time data masking. Dbmate is a self-hosted command-line migration tool without these listed governance controls.

    Trade-off: Bytebase Enterprise is paid with pricing on request; dbmate is free and open source. Suits: Teams that need approvals, access control, audit logs, and data masking around changes.

More near it on Database Migration Tools

  1. 4
    SC
    sqlx-cligithub.com

    SQLx CLI is a command-line utility for managing databases and migrations and enabling offline mode for SQLx query macros.

    6.6 APIOpenFree Free tier
  2. 6
    S
    Sqitchsqitch.org

    Sqitch is a database change management application for framework-free development and dependable deployment.

    6.6 APIOpenFree Free tier
  3. 3
    D
    DeepFilterNetgithub.com

    DeepFilterNet is a low-complexity speech-enhancement framework that uses deep filtering for full-band audio.

    7.6 APIOpenFree Free tier
  4. 8
    S
    SchemaHeroschemahero.io

    SchemaHero is an open-source database schema migration tool that converts schema definitions into migration scripts usable in any environment.

    6.4 APIOpenFree Free tier
  5. 9
    F
    FluentMigratorfluentmigrator.github.io

    FluentMigrator is a .NET framework for managing database schema changes through version-controlled C# migrations.

    6.4 APIOpenFree Free tier
  6. 10
    DM
    Doctrine Migrationsdoctrine-project.org

    Doctrine Migrations adds database schema versioning and helps deploy schema changes.

    6.3 APIOpenFree Free tier
  7. 12
    R
    Refinerygithub.com

    Refinery is a SQL migration toolkit for Rust that runs migrations on a provided database connection.

    6.2 APIOpenFree Free tier
  8. 13
    S
    Skeemaskeema.io

    Skeema is a declarative SQL-based schema management utility that applies changes expressed as CREATE statements in a repository to MySQL and MariaDB tables and…

    6.2 APIOpenFree Free tier · from $649/yr
  9. 14
    P
    Phinxphinx.org

    Phinx manages database migrations for PHP applications without the bloat of an ORM or application framework.

    6.1 APIOpenFree Free tier
  10. 15
    GM
    golang-migrategithub.com

    golang-migrate reads database migrations from sources and applies them to a database in order.

    6.1 APIOpenFree Free tier
  11. 16
    PO
    pt-online-schema-changedocs.percona.com

    pt-online-schema-change alters MySQL table structures without blocking reads or writes by building and populating a copy of the table, then replacing the…

    6.0 APIOpenFree Free tier
  12. 17
    E
    Evolvegithub.com

    Evolve is a cross-platform database migration tool inspired by Flyway that uses plain SQL scripts.

    6.0 APIOpenFree Free tier
  13. 20
    MM
    migrate-mongogithub.com

    migrate-mongo is a database migration tool for MongoDB running in Node.js.

    5.9 APIOpenFree Free tier

Questions

Is dbmate free?

Yes. Dbmate is free, open source, and has a free plan. The facts list no free trial and no paid SaaS upsell.

Which alternative supports more databases than dbmate?

Liquibase Secure supports more than 65 databases, including PostgreSQL, Oracle, SQL Server, Snowflake, Databricks, and MongoDB. Dbmate lists MySQL, MariaDB, PostgreSQL, SQLite, and ClickHouse, plus documented BigQuery and limited Spanner support.

What can I use instead of dbmate for PostgreSQL?

node-pg-migrate supports JavaScript, TypeScript, and SQL with dry runs and inferred down migrations. pgroll focuses on reversible, zero-downtime PostgreSQL changes with simultaneous schema versions.

Can an alternative add approvals and audit logs?

Yes. Bytebase Enterprise provides role-based permissions, multi-level approval workflows, immutable audit logs, and query-time data masking.

Can I use Go code instead of only SQL?

Yes. Goose supports incremental SQL changes and Go migration functions. Dbmate itself uses plain SQL migration files and is language-independent.