File tree Expand file tree Collapse file tree 5 files changed +3717
-1865
lines changed Expand file tree Collapse file tree 5 files changed +3717
-1865
lines changed Original file line number Diff line number Diff line change 1- import { PrismaClient } from '@ prisma/client'
1+ import { PrismaClient } from '../ prisma/generated /client'
22
33declare global {
44 var prisma : PrismaClient | undefined
Original file line number Diff line number Diff line change 1010 "start" : " next start" ,
1111 "lint" : " next lint"
1212 },
13- "prisma" : {
14- "seed" : " ts-node --compiler-options {\" module\" :\" CommonJS\" } prisma/seed.ts"
15- },
1613 "dependencies" : {
17- "@prisma/client" : " ^5.4.1" ,
14+ "@prisma/adapter-pg" : " 6.20.0-integration-next.10" ,
15+ "@prisma/client" : " 6.20.0-integration-next.10" ,
1816 "@types/ms" : " ^0.7.32" ,
1917 "@types/node" : " 20.8.3" ,
2018 "@types/react" : " 18.2.25" ,
2422 "eslint-config-next" : " 13.5.4" ,
2523 "ms" : " ^2.1.3" ,
2624 "next" : " 13.5.4" ,
25+ "pg" : " ^8.16.3" ,
2726 "postcss" : " 8.4.31" ,
28- "prisma" : " ^5.4.1 " ,
27+ "prisma" : " 6.20.0-integration-next.10 " ,
2928 "react" : " 18.2.0" ,
3029 "react-dom" : " 18.2.0" ,
3130 "tailwindcss" : " 3.3.3" ,
32- "ts-node" : " ^10.9.1" ,
3331 "typescript" : " 5.2.2"
32+ },
33+ "devDependencies" : {
34+ "@types/pg" : " ^8.15.6" ,
35+ "dotenv" : " ^17.2.3" ,
36+ "tsx" : " ^4.20.6"
3437 }
3538}
You can’t perform that action at this time.
0 commit comments