Made PrismaClient use Edge for Better Performance

This commit is contained in:
Ahmad 2024-03-26 20:58:59 -04:00
parent 1f36235498
commit 077c4252f8
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import { PrismaClient } from '@prisma/client';
import { PrismaClient } from '@prisma/client/edge';
import { withAccelerate } from '@prisma/extension-accelerate';
declare global {