mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-02-07 03:32:51 +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';
|
import { withAccelerate } from '@prisma/extension-accelerate';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"postinstall": "prisma generate",
|
"postinstall": "prisma generate --no-engine",
|
||||||
"format": "prettier --check --ignore-path .gitignore .",
|
"format": "prettier --check --ignore-path .gitignore .",
|
||||||
"format:fix": "prettier --write --ignore-path .gitignore ."
|
"format:fix": "prettier --write --ignore-path .gitignore ."
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue