not able to use local postgres database in prisma 2 #2394
-
I am trying to use my local postgres database in prisma 2 but it is throwing some error when is try to send the query. Below is the error I get in console error: Error validating source Validation Error Count: 1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @rajneesh3923 👋 e.g. An
|
Beta Was this translation helpful? Give feedback.
Hey @rajneesh3923 👋
Did you create an
.env
file or add an environment variable namedDATABASE_URL
?If not, then you would have to add the above to make it work.
e.g. An
.env
file in theprisma
folder like this