Reuben
Reuben
TTCTheo's Typesafe Cult
Created by Reuben on 3/20/2024 in #questions
Uploadthing button doesnt do anything
No description
4 replies
TTCTheo's Typesafe Cult
Created by Reuben on 11/22/2022 in #questions
How to share prisma schema between T3 apps hosted in vercel
Hi hi, so I've got 2 apps I'm developing using the T3 stack (created with create t3 ap), and I want to share 1 planetscale database and prisma client /schema between them. This seems to be an incredibly complicated rabbit hole I've gone down so I must be missing something. Surely this is a common task I tried splitting the prisma configuration out to a separate repo and consuming it via git submodules or package.json, but then I end up with the issue where vercel doesn't have access credentials to install it. I've been fiddling around for half a day trying to set up vercel access to a private GitHub package via .npmrc and personal access tokens but it's a cludge with minimal discussion online, so people must be doing something else for all this... What's your solution for sharing your prisma schema between apps hosted in vercel?
10 replies