Prisma migrate database access denied

Viewed 7

When I try to run the command npx prisma migrate dev --name init I get this error message:

Error: P1010: User `johndoe` was denied access on the database `mydb.public`

I don't remember setting up a user "jhondoe", I just installed postgres desktop on my mac and that's it. I'm new to databases and backend development so I'm not sure if I did setup a user.

0 Answers
Related