Open leppikallio opened 2 years ago
@leppikallio hi! thanks for reporting the issue. I can implement it on weekend
To be clear, this is not that much an issue, rather an extension to already brilliant tool. But it would be amazing if this would be possible.
Did this get done? I'm happy to try and give it a go if you want
@peterdudfield nope, I didn't start work on it, you can take care about it, if you want
It would be really nice and helpful if it were possible to have SQLAlchemy model "split" in to separate, schema specific, files with a schema specific Base.
As an example, if a DDL had something like
the -m sqlalchemy in combination with a new option would produce two model files,
schema1.py schema2.py
with
and
respectively. This would be amazingly helpful & useful feature as it would make it possible to really separate the schemas.