Skip to content

Commit

Permalink
update database
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Feb 17, 2024
1 parent ca4aeec commit 354c4e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
NEXTAUTH_SECRET=abc123
DATABASE_URL="postgresql://postgres:abc123@localhost:5432/todo?schema=public"
GITHUB_ID=
GITHUB_SECRET=
POSTGRES_PRISMA_URL="postgresql://postgres:abc123@localhost:5432/todo?schema=public"
POSTGRES_URL_NON_POOLING="postgresql://postgres:abc123@localhost:5432/todo?schema=public"
3 changes: 2 additions & 1 deletion schema.zmodel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
*/
datasource db {
provider = 'postgresql'
url = env('DATABASE_URL')
url = env('POSTGRES_PRISMA_URL')
directUrl = env('POSTGRES_URL_NON_POOLING')
}

generator js {
Expand Down

0 comments on commit 354c4e8

Please sign in to comment.