gen
atlas
Our great sponsors
gen | atlas | |
---|---|---|
7 | 67 | |
2,085 | 4,978 | |
3.6% | 7.0% | |
7.9 | 9.8 | |
16 days ago | 3 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
gen
-
orms in go
Have you tried gorm with their generator code?
- Gen: Friendly & Safer GORM powered by Code Generation
- Gen: Friendly and Safer GORM Powered by Code Generation
-
GORM is a bad idea?
You can use gorm and gorm-gen https://github.com/go-gorm/gen together
-
Sql generator but for SQLite
Maybe this is what you want? Saw it posted here earlier today: https://github.com/go-gorm/gen
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.
-
Prisma like PGX Auto migration library
In this case, I'd recommend you to check Atlas: https://github.com/ariga/atlas
-
Quickly visualize your Django schemas with DjangoViz
My name is Rotem, I'm one of the creators of Atlas (https://atlasgo.io) a modern open-source schema management tool. Recently one of our engineers created a cool Django plugin that creates beautiful (in my eyes at least ;-)) and shareable ERDs from your Django data models.
-
Is there a similar tool or alternative in Go like strong_migrations?
Yes, there is: Atlas! https://atlasgo.io / https://github.com/ariga/atlas.
-
How to run DB migrations in CICD
Hi there You should take a look at Atlas - https://atlasgo.io which can help your team in many aspects of CI/ CD for databases : * CI - detect (and prevent) risky / incorrect migrations automatically * CD - support for modern deployment infrastructure (terraform, helm, etc)
-
How do you handle migrations ?
You might want to check out Atlas. It provides automatic migration planning for GORM, and has various guides on how deploying schema migration on the popular platform and tools, such as Helm, Kubernetes and ECS.
What are some alternatives?
golang-gin-realworld-example-app - Exemplary real world application built with Golang + Gin
datahub - The Metadata Platform for your Data Stack
GORM - The fantastic ORM library for Golang, aims to be developer friendly
migrate - Database migrations. CLI and Golang library.
go-mybatis - ORM Library for go.Have Powerful Features like transaction nesting, Optimistic Lock,Logical deletion and more. like mybatis for go golang
sqlc - Generate type-safe code from SQL
SQLBoiler - Generate a Go ORM tailored to your database schema.
InfluxDB - Scalable datastore for metrics, events, and real-time analytics
go-linq - .NET LINQ capabilities in Go
skeema - Declarative pure-SQL schema management for MySQL and MariaDB
pkgreflect - A Go preprocessor for package scoped reflection
pogreb - Embedded key-value store for read-heavy workloads written in Go