From 61b08abf0083f7aeb646fe588d673c72cd8b5493 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Mon, 5 Feb 2024 02:28:42 +0000 Subject: Init prisma --- bun.lockb | Bin 141790 -> 144265 bytes package.json | 5 +++-- prisma/schema.prisma | 11 +++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 prisma/schema.prisma diff --git a/bun.lockb b/bun.lockb index cea45a11..5b2333a2 100755 Binary files a/bun.lockb and b/bun.lockb 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") +} -- cgit v1.2.3-70-g09d2