Skip to content

Commit e828c3d

Browse files
authored
Merge pull request #415 from naz/main
Fixed migrations docs for Option 4 migration scenario
2 parents e7fabe3 + 343a89e commit e828c3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/documentation/docs/migrations.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ CREATE TABLE "users" (
250250
```
251251
```ts
252252
// index.ts
253-
import { drizzle, migrate } from "drizzle-orm/node-postgres"
253+
import { drizzle } from "drizzle-orm/node-postgres"
254+
import { migrate } from 'drizzle-orm/node-postgres/migrator';
254255

255256
const db = drizzle(process.env.DATABASE_URL);
256257

0 commit comments

Comments
 (0)