Skip to content

Commit

Permalink
feat(update): minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Jun 28, 2024
1 parent e25f03a commit b027f13
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ Simple, reliable and efficient concurrent work queue for [Prisma](https://prisma

```bash
npm install @mgcrea/prisma-queue --save
# or
pnpm add @mgcrea/prisma-queue
```

## Quickstart

1. First add `"interactiveTransactions"` to your `schema.prisma` client configuration:
1. If you use an old version of Prisma ranging from 2.29.0 to 4.6.1 (included), you must first add `"interactiveTransactions"` to your `schema.prisma` client configuration:

```prisma
generator client {
Expand Down Expand Up @@ -92,7 +94,7 @@ import { emailQueue } from "./emailQueue";
const main = async () => {
const nextJob = await queue.schedule(
{ key: "email-schedule", cron: "5 5 * * *" },
{ email: "[email protected]" }
{ email: "[email protected]" },
);
};

Expand Down

0 comments on commit b027f13

Please sign in to comment.