Skip to content

Commit

Permalink
Update prisma.mdx (langchain-ai#1004)
Browse files Browse the repository at this point in the history
Changed out existing commands for NPX commands, which correctly run Prisma code as expected.
  • Loading branch information
GoodNovember authored Apr 27, 2023
1 parent 1d945c3 commit ca643e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ model Document {
Afterwards, create a new migration with `--create-only` to avoid running the migration directly.

```bash npm2yarn
npm run prisma migrate dev --create-only
npx prisma migrate dev --create-only
```

Add the following line to the newly created migration to enable `pgvector` extension if it hasn't been enabled yet:
Expand All @@ -62,7 +62,7 @@ CREATE EXTENSION IF NOT EXISTS vector;
Run the migration afterwards:

```bash npm2yarn
npm run prisma migrate dev
npx prisma migrate dev
```

## Usage
Expand Down

0 comments on commit ca643e2

Please sign in to comment.