Prisma with two databases
I'm migrating an application and it uses two different databases - MySQL and Postgres. I know Prisma has an experimental feature to use multiple schemas, but that seems to be limited to a single database.
What would be the best way to handle this?
2 Replies
I think you probs want to have a read through this convo https://github.com/prisma/prisma/issues/2443
GitHub
Multiple Connections / Databases / Datasources · Issue #2443 · pris...
Problem An application may need to access different connections/databases. One use case could be having the exact same set of tables into different databases (multi-tenant approach). Another use ca...
thanks!