Prisma
Hello everyone.
I have started working on an app with the t3 setup. The app is hopefully going to grow and I was thinking maybe there is a way to have multiple Prisma schema files and then stitch them together in one file rather than having everything consolidated in one massive file.
I would love to hear your thoughts. Thanks!
3 Replies
Check the extensions, from what i remember it's still preview feature
IMO it's a bad pratice.... I like having everything in one place so then I know what is where and can easily find what I need... I think if you had multiple files it would complicate creating relations at the very least...
For clarification I use documentation 🙂
Just create a simple overview of the whole db
@sybatron thanks for the swift response. I think you are right it's on preview feature
@juliecezar okay cool, I got it. Thanks!
Usually though, I like to follow the standard and best practices when using any tech. I'm sure this might not be an issue if it's a relatively small app but I'm just a little worried about a somewhat, large app 🤔
I am curious to know what the Prisma team would recommend in a situation like this