chore: disable query logging on the prisma client
This commit is contained in:
parent
96c2bbfd12
commit
fee2e98a90
1 changed files with 1 additions and 3 deletions
|
@ -8,8 +8,6 @@ declare global {
|
|||
|
||||
export const prisma =
|
||||
global.__prisma ||
|
||||
new PrismaClient({
|
||||
log: ['query'],
|
||||
});
|
||||
new PrismaClient();
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') global.__prisma = prisma;
|
||||
|
|
Loading…
Reference in a new issue