chore: downgrade Prisma to v6.19.3, remove redundant config files, and update schema datasource configurations
All checks were successful
Build and Push App / build (push) Successful in 17m49s
All checks were successful
Build and Push App / build (push) Successful in 17m49s
This commit is contained in:
764
admin/package-lock.json
generated
764
admin/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,9 +9,9 @@
|
||||
"lint": "eslint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@prisma/adapter-pg": "^7.7.0",
|
||||
"@prisma/client": "^7.7.0",
|
||||
"@prisma/config": "^7.7.0",
|
||||
"@prisma/adapter-pg": "6.19.3",
|
||||
"@prisma/client": "6.19.3",
|
||||
"@prisma/config": "6.19.3",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"afrohub": "file:..",
|
||||
"bcryptjs": "^3.0.3",
|
||||
@@ -19,7 +19,7 @@
|
||||
"lucide-react": "^1.8.0",
|
||||
"next": "16.2.3",
|
||||
"pg": "^8.20.0",
|
||||
"prisma": "^7.7.0",
|
||||
"prisma": "6.19.3",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"react-hot-toast": "^2.6.0",
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import { config } from 'dotenv';
|
||||
|
||||
// Load .env then override with .env.local for Next.js compatibility
|
||||
config();
|
||||
config({ path: '.env.local', override: true });
|
||||
|
||||
/**
|
||||
* Prisma 7 Configuration
|
||||
*/
|
||||
export default {
|
||||
datasource: {
|
||||
url: process.env.DATABASE_URL,
|
||||
},
|
||||
};
|
||||
@@ -5,6 +5,7 @@ generator client {
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
model User {
|
||||
|
||||
Reference in New Issue
Block a user