atlas
goose
atlas | goose | |
---|---|---|
72 | 30 | |
6,315 | 7,484 | |
4.7% | 3.8% | |
9.7 | 8.6 | |
7 days ago | 7 days ago | |
Go | Go | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
-
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.
goose
-
How to handle migrations in Golang
goose
-
GORM and Goose Migrations
Let's get started with handling migrations in Go with GORM and Goose.
-
Recent improvements to the pressly/goose migration tool
In v3.16.0 we added a new Provider feature that unlocks the ability to implement a lot of highly requested features. More details in the blog post:
- How are y'all that are using raw sql doing DB Migrations?
- Why elixir over Golang
- Is there a similar tool or alternative in Go like strong_migrations?
-
How do you handle migrations ?
Next try https://github.com/pressly/goose We have this setup to be run by the CI-CD pipeline to be run before the application is started. BTW, this utility is compatible with https://sqlc.dev , so they work good together.
-
Does this project structure make sense?
For database migration I recommend https://github.com/pressly/goose As it works with sqlc and is a powerful tool for complex migrations. This is something a lot of ORMs are really weak with. I was on a large project with Gorm as the ORM and what a nightmare when we pushed to production!
- Are there any decent ORMs in Golang?
- Don't Mock the Database
What are some alternatives?
migrate - Database migrations. CLI and Golang library.
liquibase - Main Liquibase Source
skeema - Declarative pure-SQL schema management for MySQL and MariaDB
sqlc - Generate type-safe code from SQL
go-migrate - Abstract task migration tool written in Go for Golang services. Database and non database migration management brought to the CLI. [Moved to: https://github.com/g14a/metana]
datahub - The Metadata Platform for your Data and AI Stack
dbmate - 🚀 A lightweight, framework-agnostic database migration tool.
hcl - HCL is the HashiCorp configuration language.
tern - The SQL Fan's Migrator
chproxy - Open-Source ClickHouse http proxy and load balancer
alembic - A database migrations tool for SQLAlchemy.