Has anyone figured out a good way to have a multi-tenant setup with Prisma? Scoping out Prisma as a replacement for TypeORM and have a bunch of tenant DBs that all share the same schema. Looking for a decent way to switch between the db's. I feel this is a common situation so hopefully someone's figured something out!
@Ryan I'd looked at that library, unfortunately it isn't very well up-kept it seems and has issues installing at the moment. I did however figure out a solution for my use-case that is working nicely. I appreciate the reply!
r
Ryan
10/13/2021, 4:31 PM
It would be great if you could create a small write-up of this for others to reference 🙂
s
Sabin Adams
10/13/2021, 4:33 PM
Was actually just starting one! I'll post a sample repo with some helpful comments at some point to this thread
🙌 1
j
Jonathan Marbutt
10/05/2022, 4:13 PM
@Sabin Adams did you ever do a write up with your solution?