dbmate

🚀 A lightweight, framework-agnostic database migration tool. (by amacneil)

Dbmate Alternatives

Similar projects and alternatives to dbmate

  1. fastapi

    594 dbmate VS fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Ruby on Rails

    Ruby on Rails

  4. sqlc

    193 dbmate VS sqlc

    Generate type-safe code from SQL

  5. Sequelize

    100 dbmate VS Sequelize

    Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i.

  6. Flyway

    91 dbmate VS Flyway

    Flyway by Redgate • Database Migrations Made Easy.

  7. migrate

    Database migrations. CLI and Golang library.

  8. atlas

    81 dbmate VS atlas

    Declarative schema migrations with schema-as-code workflows (by ariga)

  9. bytebase.com

    84 dbmate VS bytebase.com

    Discontinued Source for bytebase.com [GET https://api.github.com/repos/bytebase/bytebase.com: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]

  10. pgx

    78 dbmate VS pgx

    PostgreSQL driver and toolkit for Go

  11. liquibase

    62 dbmate VS liquibase

    Main Liquibase Source

  12. lowdefy

    55 dbmate VS lowdefy

    Build apps that AI can generate, humans can review, and teams can maintain. Config that works between code and natural language.

  13. Squirrel

    Fluent SQL generation for golang

  14. bytebase

    43 dbmate VS bytebase

    World's most advanced database DevSecOps solution for Developer, Security, DBA and Platform Engineering teams. The GitHub/GitLab for database DevSecOps.

  15. SQLBoiler

    Generate a Go ORM tailored to your database schema.

  16. migra

    30 dbmate VS migra

    DEPRECATED: Like diff but for PostgreSQL schemas

  17. goose

    33 dbmate VS goose

    A database migration tool. Supports SQL migrations and Go functions. (by pressly)

  18. rupy

    32 dbmate VS rupy

    HTTP App. Server and JSON DB - Shared Parallel (Atomic) & Distributed

  19. sql-migrate

    SQL schema migration tool for Go.

  20. tern

    14 dbmate VS tern

    The SQL Fan's Migrator

  21. sqlite-bench

    Code to accompany blog post https://reorchestrate.com/posts/sqlite-transactions

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dbmate alternative or higher similarity.

dbmate discussion

Log in or Post with

dbmate reviews and mentions

Posts with mentions or reviews of dbmate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-10-09.
  • Letting go PHP database migrations
    2 projects | dev.to | 9 Oct 2025
    I dropped my requirements in an AI chat and it produces a list where I saw a few good candidates; Flyway, Liquibase and dbmate.
  • FastAPI in Prod: Handling DB migrations, auth, and more
    4 projects | dev.to | 18 Feb 2025
    dbmate – A simple, language-agnostic approach to managing database migrations.
  • User authentication in go
    10 projects | dev.to | 30 Jan 2025
    We will use awesome dbmate migration tool for our migrations.
  • Seamless Integration Testing for Your Go Application on GitHub Actions with PostgreSQL
    2 projects | dev.to | 22 Nov 2024
    name: ci-test on: push: branches: [main] pull_request: branches: [main] env: POSTGRES_USER: postgres POSTGRES_PASSWORD: Password123 POSTGRES_DB: crud_db jobs: build: name: tests runs-on: ubuntu-latest services: postgres: image: postgres env: POSTGRES_USER: ${{ env.POSTGRES_USER }} POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }} POSTGRES_DB: ${{ env.POSTGRES_DB }} ports: - 5432:5432 options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 with: go-version: "1.22" - name: Install dbmate for golang migrations run: | sudo curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64 sudo chmod +x /usr/local/bin/dbmate which dbmate - name: Construct DB URL id: construct_url run: echo "DB_URL=postgres://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@localhost:5432/${{ env.POSTGRES_DB }}?sslmode=disable" >> $GITHUB_ENV - run: env - name: Make Migrations run: make migrations URL=${{ env.DB_URL }} - name: Seed test DB run: go run db/seed.go - name: Test run: make test
  • Dbmate: A lightweight, framework-agnostic database migration tool
    2 projects | news.ycombinator.com | 16 Jun 2024
  • Ask HN: What tool(s) do you use to code review and deploy SQL scripts?
    5 projects | news.ycombinator.com | 14 Apr 2024
    A regular code repo with the scripts (with pull/merge requests for review) and then a CI job that builds containers with something like dbmate https://github.com/amacneil/dbmate that can then be run against any staging/prod environment.
  • Level UP your RDBMS Productivity in GO
    5 projects | dev.to | 5 Dec 2023
    As we want to maintain the track of our changes to the DB, we are going to use migrations. In this case, we are going to use dbmate. But, you can use any other tool you want.
  • Rails 7.1 Released
    8 projects | news.ycombinator.com | 5 Oct 2023
    > For example having database migrations built in etc.

    I actually went the exact opposite route, at least when possible: https://github.com/amacneil/dbmate

    Pure SQL migrations, regardless of the back end technology that you use, completely decoupled from how each framework/library views things and therefore not dependent on them (you could even rewrite the back end in another technology later on, if needed; or swap ORMs; or avoid issues when there's a major ORM version update).

    It's really nice when you can generate entity mappings based on a live database, like with https://blog.jetbrains.com/dotnet/2022/01/31/entity-framewor...

    So in my case, I can have:

      * a DB that has migrations applied with dbmate, completely decoupled from any back end(s) that might use it
  • FLaNK Stack Weekly 2 October 2023
    19 projects | dev.to | 2 Oct 2023
  • How do your teams run DB migrations?
    4 projects | /r/devops | 1 Jun 2023
    You can run dbmate as part of your CI/CD pipeline. You just keep a dbmate directory in your repo and deploy migrations with your code.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 5 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic dbmate repo stats
30
6,927
8.6
13 days ago

amacneil/dbmate is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of dbmate is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Go is
the 4th most popular programming language
based on number of references?