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
The error I'm getting is this:
Postgres logs show me the following:
My
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.
postgres. I am getting a connection URL from the environment variables (specified in a .env.local file) in the following format: postgres://postgres:postgres@127.0.0.1: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.