atlas
Manage your database schema as code (by ariga)
migrate
Database migrations. CLI and Golang library. (by golang-migrate)
atlas | migrate | |
---|---|---|
72 | 77 | |
6,344 | 15,914 | |
4.7% | 2.2% | |
9.7 | 7.6 | |
4 days ago | about 2 months ago | |
Go | Go | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
atlas
Posts with mentions or reviews of atlas.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-09.
-
Show HN: SRTD – Live-reloading SQL templates for Supabase migrations
thanks for contributing this! i will definitely check it, was thinking about using https://atlasgo.io/ for declarative sql code, glad there is another option!
- Desvendando o Atlas: Gerencie Seus Esquemas de Banco de Dados com Estilo🚀
-
GORM, PostgreSQL & Atlas
Atlas is a modern database schema management tool that provides a declarative way to manage database schemas and migrations.
- Atlas: Manage your database schema as code
-
How to handle migrations in Golang
Atlas
-
Pgroll: zero-downtime, undoable, schema migrations for Postgres
Check out: https://github.com/ariga/atlas
(I'm one of the authors of this project).
-
Show HN: Postgres Language Server
fwiw, I personally am interested in this approach too[0]. I keep running into roadblocks around the ordering of events and some of the hairy issues around "destructive" actions (eg: renaming columns). i think we can get there, especially once we make progress with this LSP.
There are other notable mentions in this space:
Reshape: https://fabianlindfors.se/blog/schema-migrations-in-postgres...
Atlas: https://atlasgo.io/
[0] https://github.com/kiwicopple/declarative-schemas
-
Database migration tool
Atlas: https://github.com/ariga/atlas. It can be integrated with any ORM, but also has an official one for GORM: https://atlasgo.io/guides/orms/gorm
-
Queryx: An Open-Source Go ORM with Automatic Schema Management
Run the queryx db:create command to create a PostgreSQL database, and then run queryx db:migrate to automatically create the database migration files and database structure. Queryx’s database schema management is built upon Atlas.
-
Tool for generating automatic migrations/schema diff
One of https://atlasgo.io's creators here.
migrate
Posts with mentions or reviews of migrate.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-11-06.
-
How to use migrations with Golang
Go doesn't support migrations natively for that propuso we can use the popular golang-migrate package also if you use an ORM like GORM you can use it for that.
-
Scalable Server SQLite Apps
* using an external tool, just like any other RDBMS (I know and use https://github.com/golang-migrate/migrate)
-
How to handle migrations in Golang
golang-migrate
-
Use Golang Migrate on Docker Compose
Here is the documentation how to install it.
-
Database Migration: Take Care of Your Database Changes
I will show you how to create an simple program for performing database migration using Golang Migrate. Before we proceed to next step make sure you already install its binary on your system, here is the release list with various operating system option, Golang Migrate Releases.
-
Using migrations with Golang
Go does not natively support the use of migrations, but we could use the ORM that has this functionality, such as GORM which is the most used by the community, but We can use migrations without using an ORM, for this we will use the golang-migrate package.
-
How to use SQLC with Golang
$ curl -L https://github.com/golang-migrate/migrate/releases/download/$version/migrate.$os-$arch.tar.gz | tar xvz
- Looking for recommendations for model/schema/migration management in Golang
- API completa em Golang - Parte 1
-
Building RESTful API with Hexagonal Architecture in Go
Golang-migrate is a database migration tool designed for Go applications. It helps manage and apply changes to the database schema as the application grows, ensuring that the code and database structure stay in sync.
What are some alternatives?
When comparing atlas and migrate you can also consider the following projects:
skeema - Declarative pure-SQL schema management for MySQL and MariaDB
goose
sqlc - Generate type-safe code from SQL
goose - A database migration tool. Supports SQL migrations and Go functions.
datahub - The Metadata Platform for your Data and AI Stack
pgx - PostgreSQL driver and toolkit for Go
hcl - HCL is the HashiCorp configuration language.
sqlx - general purpose extensions to golang's database/sql
chproxy - Open-Source ClickHouse http proxy and load balancer
tern - The SQL Fan's Migrator