mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Made PrismaClient use Edge for Better Performance
This commit is contained in:
parent
1f36235498
commit
077c4252f8
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { PrismaClient } from '@prisma/client';
|
||||
import { PrismaClient } from '@prisma/client/edge';
|
||||
import { withAccelerate } from '@prisma/extension-accelerate';
|
||||
|
||||
declare global {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"postinstall": "prisma generate",
|
||||
"postinstall": "prisma generate --no-engine",
|
||||
"format": "prettier --check --ignore-path .gitignore .",
|
||||
"format:fix": "prettier --write --ignore-path .gitignore ."
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue