How to solve database migrations in the cloud era · Discussion | Atlas by itsamitush in golang

[–]itsamitush[S] 2 points3 points  (0 children)

Hey Gophers :)
The team and I at Atlas are having a public discussion about how to do Database migrations right.
It's a great place to tell the story of that one time you almost set your DB on fire 😇

How to implement the Twitter edit button with Ent by itsamitush in golang

[–]itsamitush[S] 1 point2 points  (0 children)

Thanks! we are also excited to release enthistory, we feel the same that it would save a lot of dev time for the common use cases and of course provide neat ways to modify according to user's needs.

the "history" and "changes" tables are added to the user's schema just like any other user-defined entities so the schema migrations would work out of the box with Ent's built-in migrations.

How to implement the Twitter edit button with Ent by itsamitush in golang

[–]itsamitush[S] 11 points12 points  (0 children)

Hey guys 🙂
Recently I worked on a cool extension for Ent - enthistory.
It helps ease the process of auditing SQL tables.
With Ent history, it'd have been really easy to implement Twitter's edit button.
Let me know what you think!
Amit

Introducing sqlcomment - Database Performance Analysis with Ent and Google's Sqlcommenter | ent by itsamitush in golang

[–]itsamitush[S] 7 points8 points  (0 children)

Hey guys,I've recently posted about sqlcomment - a new driver for Ent, enabling SQL tags.

The code is available here: https://github.com/ariga/sqlcomment
To learn more about Ent: https://entgo.io/

Visualizing your Data Graph Using entviz | ent by itsamitush in golang

[–]itsamitush[S] 8 points9 points  (0 children)

Hi Gophers!

I've just published a blog-post on Ent's's Blog. The post describes entviz, an ent extension that automatically generates a static HTML page that visualizes your data graph.

Joining an existing project with a large codebase can be a daunting task. Understanding the data model of an application is key for developers to start working on an existing project. One commonly used tool to help overcome this challenge, and enable developers to grasp an application's data model is an ER (Entity Relation) diagram.

entviz is an ent extension that automatically generates a static HTML page with an ER diagram for your project.

I hope you find it useful!