So, i started learning postgres recently and decided to use it with the ORM Prisma but, i’m facing a problem that when i try to migrate the changes to the DB, prisma is not able to connect to it.
prisma file:
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
I tried various ways to solve this like adding a connection_timeout to the postgres URL but that doesn’t work, please help. It’s frustrating now!
New contributor
Rishabh Dotasara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.