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

with-prisma: multiple prisma clients / database failing example #1

Closed
wants to merge 1 commit into from

Conversation

emilbryggare
Copy link
Owner

Using Prisma with Turborepo works great when following https://turbo.build/repo/docs/handbook/tools/prisma if there is only one Prisma client in the repository.

However, when running Turborepo with multiple Prisma clients and databases they will overwrite each other. There are loads of hacks out there, some mentioned here prisma/prisma#10433 (comment) but no real solutions as far as I can tell.

I wanted to raise awareness of this here and maybe it is worth adding a caveat to the docs about this so users are aware. What do you think?

@emilbryggare
Copy link
Owner Author

Discussion started here vercel#3493

@github-actions
Copy link

🟢 CI successful 🟢

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant