atlas
bob
atlas | bob | |
---|---|---|
67 | 32 | |
4,978 | 584 | |
3.5% | - | |
9.8 | 8.9 | |
6 days ago | 10 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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
-
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.
bob
-
how to avoid writing dreadful SQL statements
Use something that does codegen, like sqlc or Bob.
-
Golang RESTAPI boilerplate repository
Also hout out to https://github.com/stephenafamo/bob
-
Go famous/standard frameworks and libraries ?
If you want to read the schema from the DB, use Bob. https://github.com/stephenafamo/bob
-
Synchronize / generate enums from a SQL table
Generation for enums is done if you use Bob to generate your ORM.
-
How do you define your database schema?
Bob (https://github.com/stephenafamo/bob) generates models for a database schema, and for ease of use, I think it makes sense to be able to work with whatever format the schema is defined with.
-
Golang tech stack
Bob ORM for DB access
-
What framework to build heavy i/o rest api?
For an ORM recommendation, I'm heavily biased towards Bob (https://github.com/stephenafamo/bob) since I created it.
-
Bob v0.16.0: Generate from Atlas schema files
Website
-
Comparing Bob to other ORMs
Bob's GitHub Repository
-
I want to participate in a golang open source projects. Have any suggestions or recommendations?
I would definitely appreciate contributions to Bob: https://github.com/stephenafamo/bob
What are some alternatives?
datahub - The Metadata Platform for your Data Stack
pgroll - PostgreSQL zero-downtime migrations made easy
migrate - Database migrations. CLI and Golang library.
go-ora - Pure go oracle client
sqlc - Generate type-safe code from SQL
graph - A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
InfluxDB - Scalable datastore for metrics, events, and real-time analytics
golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
skeema - Declarative pure-SQL schema management for MySQL and MariaDB
uuid - A UUID package originally forked from github.com/satori/go.uuid
pogreb - Embedded key-value store for read-heavy workloads written in Go
scan - Scan provides the ability to to scan sql rows directly to any defined structure.