14 lines
313 B
TypeScript
14 lines
313 B
TypeScript
import { PrismaClient } from "../generated/prisma";
|
|
|
|
const client = new PrismaClient();
|
|
|
|
|
|
async function main() { }
|
|
|
|
main()
|
|
.then(async () => { await client.$disconnect() })
|
|
.catch(async (error: unknown) => {
|
|
console.log(error);
|
|
await client.$disconnect();
|
|
process.exit(1);
|
|
}); |