mirror of
https://github.com/IT4Change/boilerplate-backend.git
synced 2025-12-13 10:25:49 +00:00
10 lines
185 B
TypeScript
10 lines
185 B
TypeScript
import { prisma } from '#src/prisma'
|
|
|
|
export const deleteAll = async () => {
|
|
await prisma.hello.deleteMany()
|
|
}
|
|
|
|
export const disconnect = async () => {
|
|
await prisma.$disconnect()
|
|
}
|