Skip to content

Commit 371501e

Browse files
committed
chore(_official-jokes-tutorial): remove explicit DB connection
1 parent 4eace41 commit 371501e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

_official-jokes/app/utils/db.server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ import { singleton } from "./singleton.server";
44

55
// Hard-code a unique key, so we can look up the client when this module gets re-imported
66
const db = singleton("prisma", () => new PrismaClient());
7-
db.$connect();
87

98
export { db };

0 commit comments

Comments
 (0)