Skip to content

Commit

Permalink
fix: add optional neon setup
Browse files Browse the repository at this point in the history
  • Loading branch information
williamtran10 committed Nov 9, 2023
1 parent 23f50d7 commit 29c05a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/typescript/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ generator client {
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
provider = "postgresql"
url = env("DATABASE_URL")
// uncomment this for neon db
// directUrl = env("DIRECT_URL")
}

model post {
Expand Down

0 comments on commit 29c05a4

Please sign in to comment.