Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple schemas #106

Open
kmjennison opened this issue Aug 14, 2024 · 2 comments
Open

Support multiple schemas #106

kmjennison opened this issue Aug 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kmjennison
Copy link

When multiSchema is enabled, it's possible to have tables of the same name in different schemas. Right now, prisma-kysely will export the DB interface with duplicate properties.

It would be great to namespace the tables with their schema, such as my_other_schema.example_table. (This is what kysely-codegen does.)

@imoby
Copy link

imoby commented Sep 16, 2024

Same here, this is a big blocker for me because I have to go in manually after each generation and update the schemas

@valtyr valtyr added the enhancement New feature or request label Oct 13, 2024
@arthurfiorette
Copy link

#110 fixes this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants