drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
23.51k stars 576 forks source link

[FEATURE]: add database visualisation to drizzle studio #2841

Open callumgare opened 1 month ago

callumgare commented 1 month ago

Describe what you want

Thanks for creating such a great project, a real benefit to the JavaScript ecosystem!

Firstly sorry if this is the wrong place. The description of https://github.com/drizzle-team/drizzle-kit-mirror suggests that studio related issues should go there but it seems like issues have been turned off on that repo.

Idea

Integrate something like chart DB into drizzle studio to give an overview of a database structure in a visual way. With some of my more complex projects that involve many tables of abstract concepts I find myself needing to regularly re-familiarise myself with the database structure. Especially if I haven’t worked on that project in awhile. Having a database visualisation tool built right into drizzle studio would be fantastic for that.

It would be particularly handy in combination with https://github.com/drizzle-team/drizzle-orm/issues/1840 so that you could add comments to your tables/columns/relationships and see them in the visualisation.

Thanks for your consideration! 😊

tobychidi commented 1 week ago

Would be lovely this