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

This commit is contained in:
streap2
2026-04-26 08:21:36 +02:00
parent d1e551bcca
commit 668b6bd8b8
9 changed files with 251 additions and 1511 deletions

764
admin/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -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",

View File

@@ -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,
},
};

View File

@@ -5,6 +5,7 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {