correction gem high dockerfile prisma schema
All checks were successful
Build and Push App / build (push) Successful in 52s
All checks were successful
Build and Push App / build (push) Successful in 52s
This commit is contained in:
14
admin/prisma.config.js
Normal file
14
admin/prisma.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user