We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccebfbf commit 39c2702Copy full SHA for 39c2702
tests/db-utils.ts
@@ -1,6 +1,6 @@
1
import fs from 'node:fs'
2
import { faker } from '@faker-js/faker'
3
-import { Prisma, type PrismaClient } from '@prisma/client'
+import { type PrismaClient } from '@prisma/client'
4
import bcrypt from 'bcryptjs'
5
import { UniqueEnforcer } from 'enforce-unique'
6
@@ -144,8 +144,6 @@ export async function cleanupDb(prisma: PrismaClient) {
144
.map((statement) => statement.trim())
145
.filter(Boolean)
146
147
- //trigger
148
-
149
// Run each sql statement in the migration
150
await prisma.$transaction([
151
...statements.map((statement) =>
0 commit comments