We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c91af6 commit 3ae2256Copy full SHA for 3ae2256
1 file changed
lib/prisma.ts
@@ -8,8 +8,12 @@ declare global {
8
9
const neon = new Pool({ connectionString: process.env.DATABASE_URL });
10
const adapter = new PrismaNeon(neon);
11
-const client = globalThis.prisma || new PrismaClient({ adapter });
12
-if (process.env.NODE_ENV !== "production") globalThis.prisma = client;
13
-console.log({ client });
+const client = new PrismaClient({ adapter });
14
15
export default client;
+
+// const client = globalThis.prisma || new PrismaClient({ adapter });
16
+// if (process.env.NODE_ENV !== "production") globalThis.prisma = client;
17
+// console.log({ client });
18
19
+// export default client;
0 commit comments