aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-05 02:28:42 +0000
committerMohamedBassem <me@mbassem.com>2024-02-05 02:28:42 +0000
commit61b08abf0083f7aeb646fe588d673c72cd8b5493 (patch)
treee3ed6d023a0968dd06989d9d716f2666a265ccca
parentfd256793f165595fdb078d9ab52f06d79e776fdd (diff)
downloadkarakeep-61b08abf0083f7aeb646fe588d673c72cd8b5493.tar.zst
Init prisma
-rwxr-xr-xbun.lockbbin141790 -> 144265 bytes
-rw-r--r--package.json5
-rw-r--r--prisma/schema.prisma11
3 files changed, 14 insertions, 2 deletions
diff --git a/bun.lockb b/bun.lockb
index cea45a11..5b2333a2 100755
--- a/bun.lockb
+++ b/bun.lockb
Binary files differ
diff --git a/package.json b/package.json
index 686b6978..ae7deb01 100644
--- a/package.json
+++ b/package.json
@@ -9,9 +9,10 @@
"lint": "next lint"
},
"dependencies": {
+ "next": "14.1.0",
+ "prisma": "^5.9.1",
"react": "^18",
- "react-dom": "^18",
- "next": "14.1.0"
+ "react-dom": "^18"
},
"devDependencies": {
"typescript": "^5",
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
new file mode 100644
index 00000000..e0020544
--- /dev/null
+++ b/prisma/schema.prisma
@@ -0,0 +1,11 @@
+// This is your Prisma schema file,
+// learn more about it in the docs: https://pris.ly/d/prisma-schema
+
+generator client {
+ provider = "prisma-client-js"
+}
+
+datasource db {
+ provider = "sqlite"
+ url = env("DATABASE_URL")
+}