Skip to content

Commit

Permalink
fix: add directurl on prisma connection
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosllz committed Nov 19, 2023
1 parent 5070431 commit e938b4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ generator client {
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
}

model accounts {
Expand Down

0 comments on commit e938b4c

Please sign in to comment.