Replies: 2 comments 3 replies
-
No. You will probably have better success using one schema per project. |
Beta Was this translation helpful? Give feedback.
-
If you're looking to solve this issue a different way, try this out: https://orm.drizzle.team/docs/goodies#multi-project-schema |
Beta Was this translation helpful? Give feedback.
-
Question
Hey all!
I'm just going to go to the point, I have a single free vercel plan that only allows to have one postgres database. I'm thinking of using that one database for multiple projects at once with each its own different prisma schemas.
I've renamed all each and every of the tables on each schemas to have a prefix. But as I tried to deploy to vercel (which has
prisma db push
as its postinstall script), prisma asked me to drop these tables.Is there a way to prevent prisma from deleting these tables, and just let them be?
(there are no conflicting table names)
Would really appreciate quick answers, I'm quite in a hurry right now! Thank you!
How to reproduce (optional)
Expected behavior (optional)
No response
Information about Prisma Schema, Client Queries and Environment (optional)
Beta Was this translation helpful? Give feedback.
All reactions