initial commit
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
7
src/config/database.ts
Normal file
7
src/config/database.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
|
||||
const prisma = new PrismaClient({
|
||||
log: process.env.APP_ENV === 'local' ? ['warn', 'error'] : ['error'],
|
||||
});
|
||||
|
||||
export default prisma;
|
||||
Reference in New Issue
Block a user