From 80bb8a108f29331cdb2f2695f6801beee104dc89 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Thu, 8 Feb 2024 15:14:23 +0000 Subject: [refactor] Move the different packages to the package subdir --- db/index.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 db/index.ts (limited to 'db/index.ts') diff --git a/db/index.ts b/db/index.ts deleted file mode 100644 index fa46ca1f..00000000 --- a/db/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { PrismaClient } from "@prisma/client"; - -const prisma = new PrismaClient(); - -// For some weird reason accessing @prisma/client from any package is causing problems (specially in error handling). -// Re export them here instead. -export * from "@prisma/client"; - -export default prisma; -- cgit v1.2.3-70-g09d2