Karl
DTDrizzle Team
•Created by Karl on 9/4/2024 in #help
Error when attempting to migrate on Windows
Hey, I am working on a project which uses Next.js, TypeScript and Drizzle, I'm running a local, freshly installed Postgres server on my machine, in which I have created a database and granted all permissions for it to user
postgres
. I am getting a connection URL from the environment variables (specified in a .env.local
file) in the following format: postgres://postgres:[email protected]:5432/<db_name>
.
The error I'm getting is this:
Postgres logs show me the following:
My drizzle.config.ts
looks like this:
I have verified that the environment variable for the URL is being pulled correctly. The weird thing is, I get the exact same setup working without issues on my macOS machine.14 replies