Hacker GitHub

← All repos

amacneil/dbmate

View on GitHub ↗ ★ 7,514 Go

🚀 A lightweight, framework-agnostic database migration tool.

17 mentions on Hacker News by 13 people: 2 stories, 15 comments · first 2018-10-01 · latest 2024-06-16

Mentions per year 17 mentions · busiest year 2019 (4)
20082026
  1. …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.
  2. …ERD planning tool, with manual edits where needed), apply them to a DB with something like dbate: https://github.com/amacneil/dbmate After that, if I want to use an ORM, I generate entity mappings from the tables/views in a schema-first…
    comment by KronisLV · 2023-11-01 · in Rob Pike’s Rules of Programming (1989)
  3. …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…
    comment by KronisLV · 2023-10-06 · in Rails 7.1 Released
  4. We've used dbmate[1] outside of the Django/alembic ecosystem. [1] https://github.com/amacneil/dbmate
  5. …to run said migrations (e.g. run different profiles). Of course, recently i've also found Dbmate ( https://github.com/amacneil/dbmate ) which is a lightweight and language-agnostic tool that supports a variety of DBMSes (PostgreSQL,…
    comment by KronisLV · 2022-01-13 · in Treating SQL like code
  6. If this interest you, both dbmate [ https://github.com/amacneil/dbmate ] and golang/migrate [ https://github.com/golang-migrate/migrate ] are in very similar spaces---and can be provided as a single executable.
  7. …pretty easy to setup. On DBs, RDS handles all the backups and maintenance. For migrations, I use https://github.com/amacneil/dbmate . Happy to answer any other questions you have, as I've learned a lot through trial and error.
  8. Dbmate: https://github.com/amacneil/dbmate I found most database migration tools tried to be too smart (I'm not a fan of automatic migrations), were too tightly integrated with specific languages or frameworks, or didn't support basic…
  9. …Dbmate, which is written in Go but can be used with any framework or language, including Rust. https://github.com/amacneil/dbmate
    comment by subsection1h · 2021-02-24 · in Rust for web development: 2 years later
  10. …We ony implemented rolling forward. Rolling back is hard. Esepcially for DROPing collumns. Btw https://github.com/amacneil/dbmate also seems cool.
    comment by TeeWEE · 2020-09-24 · in Database Version Control with Liquibase
  11. …any deployment pipelines, and works using regular SQL (so you don't need to learn a new syntax). https://github.com/amacneil/dbmate
    comment by sunaurus · 2020-09-24 · in Database Version Control with Liquibase
  12. …https://github.com/liquibase/liquibase https://github.com/sqitchers/sqitch https://github.com/amacneil/dbmate
    comment by brlewis · 2019-12-09 · in Show HN: Version Control for Databases
  13. …that custom backend and postgrest using nginx. Other things we use: - dbmate for migrations: https://github.com/amacneil/dbmate - postgrest-client, a library I developed for constructing type-safe queries to Postgrest in Elm:…
    comment by alexrtan · 2019-11-03 · in PostgREST
  14. I've been using Dbmate for a few years now across our entire stack. It does the job perfectly. https://github.com/amacneil/dbmate
  15. …SQL migration management with in-database version tracking. Super simple , but works for us. [1] https://github.com/amacneil/dbmate