Skip to content

Commit

Permalink
Add Prisma configuration (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
homanp authored Mar 22, 2023
1 parent 9462563 commit 999db79
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DATABASE_URL="postgresql://postgres:[YOUR-PASSWORD]@db.jjycswopgnwzeiogomvj.supabase.co:5432/postgres"
27 changes: 27 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"next": "13.2.4",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"prisma": "^4.11.0"
}
}
11 changes: 11 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
@@ -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 = "postgresql"
url = env("DATABASE_URL")
}

1 comment on commit 999db79

@vercel
Copy link

@vercel vercel bot commented on 999db79 Mar 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

langchain-ui – ./

langchain-ui.vercel.app
langchain-ui-homanp.vercel.app
langchain-ui-git-main-homanp.vercel.app

Please sign in to comment.