SpicyCoder
PPrisma
•Created by SpicyCoder on 2/15/2025 in #help-and-questions
Run Prisma In 2 different Process's
Gm/Gn
PrismaClient: prisma-py
DB: sqlite:file
im running a TelegramBot and it uses prisma db
now i want to build an API that needs to reach the same db the bot is using
(i can't run the API and BOT in same proccess)
So is it okay to use 2 proccess's, 1 for the Bot, and 1 for the API
Without getting data/prisma conflicts ? + if possible, do i have to specify any other setting
in the prisma schema or just plugNuse
thanks
6 replies