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
20082026
-
…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.
comment by KronisLV · 2024-04-15 · in Ask HN: What tool(s) do you use to code review and deploy SQL scripts? -
…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) -
…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 -
We've used dbmate[1] outside of the Django/alembic ecosystem. [1] https://github.com/amacneil/dbmate
comment by skimdesk · 2023-09-06 · in When deployments are easy, code becomes simpler -
…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 -
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.
comment by xemoka · 2021-12-14 · in Pgmigrate: Write migrations using plain SQL -
…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.
comment by mfrye0 · 2021-10-12 · in Ask HN: Solo-preneurs, how do you DevOps to save time? -
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…
comment by amacneil · 2021-05-16 · in Ask HN: What are some tools / libraries you built yourself? -
…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 -
…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 -
…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 -
…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 -
I've been using Dbmate for a few years now across our entire stack. It does the job perfectly. https://github.com/amacneil/dbmate
comment by mfrye0 · 2019-10-31 · in Ask HN: How do you organize and manage database migrations? -
…SQL migration management with in-database version tracking. Super simple , but works for us. [1] https://github.com/amacneil/dbmate
comment by paulddraper · 2019-05-10 · in Ask HN: How does your development team handle database migrations?