I Made New Golang Database Migration Tool
Hello HN, I've just released a new migration tool for Go that mimics the functionality of Ruby on Rails migrations. It's designed to help Go developers manage database schema changes with ease. This allows you several benefits: - Write type-safe migrations - Auto down of migrations whenever it's possible - Easy backfill even with business logic because it's Go code - Painless integration with existing schema - sql.DB compatible and driver agnostic (it uses your driver) I have a pretty complete API to manage Postgres schema and I am working on the SQLite one (a little more complicated due to…
What it does
In the maker’s words, at launch
Hello HN, I've just released a new migration tool for Go that mimics the functionality of Ruby on Rails migrations. It's designed to help Go developers manage database schema changes with ease. This allows you several benefits: - Write type-safe migrations - Auto down of migrations whenever it's possible - Easy backfill even with business logic because it's Go code - Painless integration with existing schema - sql.DB compatible and driver agnostic (it uses your driver) I have a pretty complete API to manage Postgres schema and I am working on the SQLite one (a little more complicated due to the lack of ALTER TABLE expressions). You can use a non-implemented database, you just will do SQL queries and won't have the benefits of the API. Try it and give me some feedback, I would be happy to know what you think about my project! GitHub: https://github.com/alexisvisco/amigo Cheers, Alexis
Does the same job
all alternatives →- ADA Database Written in Golang2025 · github.com · ▲277
Recently created a minimal persistent relational database in Go. Main focus was on implementing & understanding working the of database, storage management & transaction handling. Use of B+ Tree for storage engine(support for indexing), managing a Free List (for reusing nodes), Support for transactions, Concurrent Reads. Still have many things to add & fix like query processing being one of the main & fixing some bugs Repo link - https://github.com/Sahilb315/AtomixDB Would love to hear your thoughts
- ZDZero-downtime PostgreSQL migrations for Ruby on Rails2022 · github.com · ▲36
- DGDbdot – Golang tool to help generate Postgres schema diagrams2019 · github.com · ▲119
- GMGoSMig – minimal, type-safe SQL migrations written in GoOct 2025 · github.com · ▲7
I built GoSMig for my own projects and open-sourced it in case it helps others. It’s a tiny generic library (no external deps except golang.org/x/term) for writing SQL migrations in Go with compile-time checks. It supports transactional and non-transactional migrations, rollback, status, version, and a small CLI handler so you can ship your own migration binary. Why another migrator? - Minimal API, no DSL or file layout to learn - Type-safe via Go generics - Works with database/sql and sqlx out of the box - Should work with any db library (or wrapper) that implements some…
- ANA new stdlib for Golang focusing on platform native support2023 · github.com · ▲154
No gc, No goroutines, Produces small binaries while using the unmodified official go toolchain, and comes with complete Web SDK (generated from w3c/webref). We are building `pcz` to provide a reimagination of Go the language, in an effort to make it suitable for all kinds of programming tasks, and currently you can use it to build efficient web applications in Go using the generated Web SDK (as shown with the live web demo[1]). The journey is just starting, any suggestions? or any critics? [1]: https://primecitizens.github.io/livedemos/10-plat-web/
- SMSql-migrate: SQL migrations for Go2014 · github.com · ▲6
More dev tools this month
the category →



The first open-source price index for GPU compute
Dev tools · 10d ago · getcomputable.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com
Launched alongside, June 2024
the whole month →

La Growth Machine▲1,216Create personalized, multi-channel conversations at scale
AI · 2024 · lagrowthmachine.com


PyjamaHR▲1,132Hiring on autopilot. The AI applicant tracking system (ATS).
Work · 2024 · pyjamahr.com