Is there a way I can use a single dB with Prisma i...
# orm-help
s
Is there a way I can use a single dB with Prisma in two different projects?
n
Hey 👋 One way could be creating either an NPM or Github package that has just the types generated by Prisma and using them in different projects.
👍 1
s
Thank you. Let me try this. My problem is I have a project like this. When I run prisma generate --schema="path", whatever is generated ends up in the parent node_modules. When I use prisma client in the svelte directory, models are often not updated.
Copy code
|prisma
  |schema.prisma
|svelte
  |package.json (svelte framework related stuff)
|package.json (express related stuff)
|app.js.
👍 1