relay/prisma/seed.ts
Corban-Lee Jones 99ebb9a578
All checks were successful
Build / build (push) Successful in 1m4s
chore: resolve all eslint errors
2025-05-15 21:33:57 +01:00

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);
});