having similar errors:
Invalid `prisma.b2bTransaction.findUnique()` invocation:
The table `public.B2bTransaction` does not exist in the current database.
if (!decryptedData.txnId) {
return { success: false, message: "Transaction ID not found", paymentToken: null };
}
// fetch transaction data
const transaction = await db.b2bTransaction.findUnique({
where: {
id: decryptedData.txnId,
//webhookId: webhookId!
},
select: {
id: true,
senderUserId: true,
receiverUserId: true,
senderBankName: true,
amount: true,
status: true,
webhookStatus: true,
},
});
Using Hono with prisma don't know where the error is forming its only happening in production in local everything working fine. Tried methods here but to no avail :/