Closed mohsinbeg closed 5 months ago
@mihaibudiu I think we can generate this once we have the foreign key relationship in your json schema from the compiler
That should be easy
But notice that a table can have multiple foreign keys and each foreign key can have multiple columns
It would be nice to render a ER diagram for the SQL Program in the WebConsole UI. We can decide how to render the views also.
https://mermaid.js.org/syntax/entityRelationshipDiagram.html
cc: @gz