Skip to content

Commit

Permalink
feat: use vercel hosted prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
tomitheninja committed Aug 25, 2024
1 parent d3889d2 commit bd50c51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/prisma/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
}

generator client {
Expand Down

0 comments on commit bd50c51

Please sign in to comment.