2025-11-26 12:00:48 +05:30
|
|
|
// prisma.ts
|
2025-12-09 13:49:20 +05:30
|
|
|
// Re-export from the main singleton for consistency
|
|
|
|
|
import { prisma } from '../src/common/database/prisma.client';
|
2025-11-26 12:00:48 +05:30
|
|
|
|
2025-12-09 13:49:20 +05:30
|
|
|
export { prisma };
|
2025-11-26 12:00:48 +05:30
|
|
|
|
2025-11-12 16:03:57 +05:30
|
|
|
process.on('SIGINT', async () => {
|
|
|
|
|
await prisma.$disconnect();
|
|
|
|
|
process.exit(0);
|
|
|
|
|
});
|