Multiple schema.prisma files in one project #929
-
I have two (actually more) dbs to connect from my prisma app. I could generate two clients (i could see them in node_modules/.prisma.) But for some reason, using these two clients in my app hasn't been successful. There have been two types of errors:
I am using following commands to generate clients:
I have followed this article to set this up: prisma/prisma#2443 (comment) And following was the error after which I had no other option left but.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @arnavawasthi sorry for the delayed reply here. The query engine binary error shouldn't be related to the multiple schema files 🤔 And from what you've described it sounds like this is an issue with Prisma, not the integration with Blitz. So I'm afraid I don't have any help to offer on this at the moment. I suggest joining the prism slack and posting this in there. Probably someone there can get you going! |
Beta Was this translation helpful? Give feedback.
Hey @arnavawasthi sorry for the delayed reply here.
The query engine binary error shouldn't be related to the multiple schema files 🤔
And from what you've described it sounds like this is an issue with Prisma, not the integration with Blitz. So I'm afraid I don't have any help to offer on this at the moment.
I suggest joining the prism slack and posting this in there. Probably someone there can get you going!