fix(cli): remove dublicate prisma db file

This commit is contained in:
Aman Varshney
2025-09-12 01:20:16 +05:30
parent 6cff08b793
commit 84d8a25137
4 changed files with 8 additions and 30 deletions

View File

@@ -1,5 +1,10 @@
import { PrismaClient } from "../../prisma/generated/client";
{{#if (or (eq dbSetup "prisma-postgres") (eq orm "prisma"))}}
import { withAccelerate } from "@prisma/extension-accelerate";
const prisma = new PrismaClient().$extends(withAccelerate());
{{else}}
const prisma = new PrismaClient();
{{/if}}
export default prisma;