Generate multiple schemas on the same file?
thelinuxlich opened this issue · comments
Alisson Cavalcante Agiani commented
Is it possible to codegen from multiple schemas in the DB at once? (MySQL)
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
Nathanael Ruf commented
Not sure if that is what you mean, but you get kysely-codegen to prefix all table names with their respective schema by running the tool with --schema not-existing-schema
.
It's abusing the flag a bit, but it's good enough for my use case.