Module "drizzle-orm/node-postgres" has no exported member 'migrate'

Hi, I'm trying to setup basic app with drizzle for the first time and im following option 4 instructions (generating sql migrations and applying at runtime) link: https://orm.drizzle.team/docs/migrations and I'm unable to import the migrate function. Any clues? Versions:
{
"drizzle-kit": "^0.26.2",
"drizzle-orm": "^0.35.1",
"pg": "^8.13.0",
}
{
"drizzle-kit": "^0.26.2",
"drizzle-orm": "^0.35.1",
"pg": "^8.13.0",
}
Drizzle ORM - Migrations
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
2 Replies
bobby
bobby2mo ago
Hey, have you tried
import { migrate } from "drizzle-orm/node-postgres/migrator";
import { migrate } from "drizzle-orm/node-postgres/migrator";
?
Eblofeld
EblofeldOP2mo ago
Thank you, thats exactly what I needd
Want results from more Discord servers?
Add your server