mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Minor tweaks.
This commit is contained in:
parent
132bbcbe0d
commit
0edf87941a
6 changed files with 24 additions and 22 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import { PrismaClient } from '@prisma/client';
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
const prisma = new PrismaClient({
|
||||
log: [process.env.NODE_ENV !== 'production' && 'query'],
|
||||
});
|
||||
|
||||
export async function runQuery(query) {
|
||||
return query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue