mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Formated Files
This commit is contained in:
parent
d5631b309a
commit
e768d9181f
138 changed files with 1829 additions and 1851 deletions
|
@ -1,4 +1,4 @@
|
|||
import { PrismaClient } from "@prisma/client";
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
|
||||
declare global {
|
||||
var prisma: PrismaClient | undefined;
|
||||
|
@ -6,4 +6,4 @@ declare global {
|
|||
|
||||
export const db = globalThis.prisma ?? new PrismaClient();
|
||||
|
||||
if (process.env.NODE_ENV !== "production") globalThis.prisma = db;
|
||||
if (process.env.NODE_ENV !== 'production') globalThis.prisma = db;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue