Generate Entity Relationship Diagram (Database Schema Visualization)
See original GitHub issueIdea
- Provide a built-in way to generate an Entity Relationship Diagram from schema.prisma (or directly from the database)
- Make it easy to access for Redwood developers
rw erd
(ERD = Entity Relationship Diagram)- Generates a diagram and opens an image/svg or maybe an interactive webapp
- in VSCode
Redwood: Open Entity Relationship Diagram
- Same as above, but opens the diagram in the context of VSCode
Why?
- Even the simplest built-in diagram can help us enrich the workflow and tutorials
Implementation?
Ideally, prisma.io should provide this (since we’re treating schema.prisma as our source of truth). Unfortunately, I couldn’t find a concrete solution to this problem (maybe I missed something, @schickling?). Here are two related (open) issues:
As @dthyresson pointed out, there is a prisma->DBML generator, which we can then feed to dbdiagram.io. But this isn’t something we can integrate into our tooling since it depends on an online service.
Any ideas/pointers for the implementation are welcome 😃
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
ER Diagram (ERD) Tool | Lucidchart
Lucidchart makes it easy to visualize your database structure and build ER diagrams online quickly and efficiently to save you time. Our ER...
Read more >dbdiagram.io - Database Relationship Diagrams Design Tool
Quick and simple free tool to help you draw your database relationship diagrams and flow quickly using simple DSL language.
Read more >Top 7 tools to create an Entity Relationship Diagram (ERD ...
Generate an ER Diagram from your existing SQL database online, automatically ... Design and visualize information systems, easily.
Read more >Top 5 Free Database Diagram Design Tools (Updated)
ERD Plus is a basic database modeling tool for creating Entity Relationship Diagrams, Relational Schemas, Star Schemas, and SQL DDL statements.
Read more >10 Best Free ER Diagram Tools in 2022 - GitMind
Thus, we've put together a list of free ER diagram tools that will help you construct a relational and logical structure of a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can I ask what you used to generate the current diagrams in the documentation? I really like their look.
@noire-munich I think you’ll be interested in seeing the visual graphing tools mentioned in this comment above.