Skip to content

Commit

Permalink
fix: missing drizzle import in postgres run migration doc
Browse files Browse the repository at this point in the history
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
  • Loading branch information
KeisukeYamashita committed Apr 21, 2024
1 parent 4706ad1 commit 18983a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drizzle-orm/src/postgres-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ In order to run the migrations, [you need to use `max: 1` in the postgres.js con
```typescript
import postgres from 'postgres';
import { migrate } from 'drizzle-orm/postgres-js/migrator';
import { drizzle } from "drizzle-orm/postgres-js";

const migrationsClient = postgres(connectionString, {
max: 1,
Expand Down

0 comments on commit 18983a0

Please sign in to comment.