News for hackers. Stuff that matters.
Re:Gallery of database schema diagrams of open-source packages by beckingz on Tuesday April 28, 2020 @10:43AM (#23007449)
Does this rely on foreign keys?
Re:Gallery of database schema diagrams of open-source packages by dennisong on Tuesday April 28, 2020 @11:11AM (#23007733)
If you imported the diagram from a SQL DDL script, then it does generate relationships based on the foreign keys. I can then add the other missing ones.

In the future there will be smarter ways to infer them, e.g. searching for {table_name}_id etc. In fact I did use a crude script that did just that when curating the diagrams for the gallery. Just need to build a nice frontend for it.