dbmate

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

Dbmate Alternatives

Similar projects and alternatives to dbmate

  1. fastapi

    549 dbmate VS fastapi

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

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Ruby on Rails

    Ruby on Rails

  4. sqlc

    182 dbmate VS sqlc

    Generate type-safe code from SQL

  5. Sequelize

    96 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 (v6), DB2 and DB2 for IBM i.

  6. Flyway

    86 dbmate VS Flyway

    Flyway by Redgate • Database Migrations Made Easy.

  7. 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]

  8. migrate

    Database migrations. CLI and Golang library.

  9. SaaSHub

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

    SaaSHub logo
  10. pgx

    75 dbmate VS pgx

    PostgreSQL driver and toolkit for Go

  11. atlas

    74 dbmate VS atlas

    Manage your database schema as code (by ariga)

  12. liquibase

    56 dbmate VS liquibase

    Main Liquibase Source

  13. Squirrel

    Fluent SQL generation for golang

  14. lowdefy

    53 dbmate VS lowdefy

    The config web stack for business apps - build internal tools, client portals, web apps, admin panels, dashboards, web sites, and CRUD apps with YAML or JSON.

  15. 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.

  16. SQLBoiler

    Generate a Go ORM tailored to your database schema.

  17. goose

    31 dbmate VS goose

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

  18. migra

    28 dbmate VS migra

    Like diff but for PostgreSQL schemas

  19. rupy

    31 dbmate VS rupy

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

  20. tern

    14 dbmate VS tern

    The SQL Fan's Migrator

  21. sql-migrate

    SQL schema migration tool for Go.

  22. sqlite-bench

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

  23. SaaSHub

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

    SaaSHub logo
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-02-18.
  • 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.
  • Working with TypeORM 0.3x with Nestjs - I wasn't aware so many people were facing issues with it
    2 projects | /r/nestjs | 27 Feb 2023
    In general with ORMs, you will face a problem in one way or another. I ended up simply using https://github.com/gajus/slonik and https://github.com/amacneil/dbmate for migrations. My life is way much better since then.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Jun 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic dbmate repo stats
29
6,034
7.8
11 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
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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