aboutsummaryrefslogtreecommitdiffstats
path: root/web/lib/prisma.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-06 12:26:29 +0000
committerMohamedBassem <me@mbassem.com>2024-02-06 12:26:29 +0000
commit083ea5bd19172381bb53e95aaf98eaabef839c54 (patch)
tree4d1c041aab7cd8d15382330db08caeb9c5a12c63 /web/lib/prisma.ts
parentb792121977ade8bdd3fb62704b65a9fcbd1436b9 (diff)
downloadkarakeep-083ea5bd19172381bb53e95aaf98eaabef839c54.tar.zst
Move the web app into a subdir
Diffstat (limited to 'web/lib/prisma.ts')
-rw-r--r--web/lib/prisma.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/lib/prisma.ts b/web/lib/prisma.ts
new file mode 100644
index 00000000..d73ba5f2
--- /dev/null
+++ b/web/lib/prisma.ts
@@ -0,0 +1,5 @@
+import { PrismaClient } from '@prisma/client'
+
+const prisma = new PrismaClient();
+
+export default prisma;