How to setup multiple Prisma clients in combination with `prismaSchemaFolder`
I'm trying to setup multiple Prisma clients (as I have 2 sperate databases) in combination with
As I'm having 2 Prisma clients I need to define the ouput folder manually like:
1) Is that output fulder the recommended destination in this use case?
The generated files look good as far as I can see, however when importing this later like:
I get the following error:
Cannot find module '@prisma/db1/client'
prismaSchemaFolder.As I'm having 2 Prisma clients I need to define the ouput folder manually like:
1) Is that output fulder the recommended destination in this use case?
The generated files look good as far as I can see, however when importing this later like:
I get the following error:
Cannot find module '@prisma/db1/client'