diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-08 15:14:23 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-08 15:15:21 +0000 |
| commit | 80bb8a108f29331cdb2f2695f6801beee104dc89 (patch) | |
| tree | b1ae2a512963a9c916c4bfed71f7633f508de131 /db/index.ts | |
| parent | 333429adbaaa592cc96b480a5228f0e3f1de4cc2 (diff) | |
| download | karakeep-80bb8a108f29331cdb2f2695f6801beee104dc89.tar.zst | |
[refactor] Move the different packages to the package subdir
Diffstat (limited to 'db/index.ts')
| -rw-r--r-- | db/index.ts | 9 |
1 files changed, 0 insertions, 9 deletions
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; |
