achiku/planter

Extracting cross-schema tables

manzanit0 opened this issue · 2 comments

Hi!

Great project, I'm really liking it! I just used to to run it on our live system and it's absolutely fantastic, specially for onboarding new folks :)

I just just wanted to flag with this ticket that I wasn't able to extract diagrams for tables that reference tables in other schemas. Not sure if the is a way or not? Nonetheless, still enjoying it a lot!

Best,
Javier

Take a look at sql.go for the queries that fetch table and columns. Simple adjustments to those queries will probably fix your issue.

FYI. Found this repo: https://github.com/sue445/plant_erd. It support cross-schema extraction