Prisma session storage outside of Remix app template

Shopify Partner
4 0 0

I'm creating my first shopify app and trying to understand how to set up my sessions.


Say I have an existing external node express server connected to a Prisma DB. When I create a new app with the Remix template I see that it comes with a Prisma schema to store sessions and uses PrismaSessionStorage which takes the prisma instance as an argument. 


If I instead want to store the session on my own DB so I don't end up deploying to separate DBs what's the correct way to go about this?

Reply 1 (1)
Shopify Partner
3 0 0

Any Solution  ???