mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Add beer post, brewery post GET service and page
Add prettier, eslint config
This commit is contained in:
11
prisma/client.ts
Normal file
11
prisma/client.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
|
||||
const DBClient = {
|
||||
instance: new PrismaClient(),
|
||||
};
|
||||
|
||||
export type IDBClient = typeof DBClient;
|
||||
|
||||
Object.freeze(DBClient);
|
||||
|
||||
export default DBClient;
|
||||
Reference in New Issue
Block a user