Closed hoopes closed 1 month ago
I don't know how cross-schema foreign keys work with SQLAlchemy. Currently I can only set one schema at the SQLA Automap:
I don't think that it works to loop through the schemas to create matching references between the schemas - yet one could try this. If you provide a working example you can send in a PR which will get merged.
This is a postgres-specific ask, but it would be cool to render more than one schema at once - they're basically namespaces in postgres. I have cross-schema foreign keys, and it would be great to render them.
Let me know if that use-case makes sense. Thanks!