We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f187731 commit 3a9d85dCopy full SHA for 3a9d85d
2 files changed
scripts/generate-migrations.ts
@@ -1,4 +1,5 @@
1
import { $, env } from "bun";
2
+import { webcrypto as crypto } from "node:crypto";
3
4
// Prisma doesn't support in-memory SQLite databases, so we use a random file name.
5
env["PRISMA_DB_URL"] = `file:temp/${crypto.randomUUID()}.db?mode=memory`;
test/prisma.ts
@@ -1,5 +1,6 @@
import { PrismaClient } from "@prisma/client";
import { env } from "bun";
import { fileURLToPath } from "node:url";
import { collectMigrations } from "./common.js";
6
0 commit comments