12 lines
No EOL
314 B
TypeScript
12 lines
No EOL
314 B
TypeScript
import { config } from "dotenv";
|
|
config({ path: ".env.local" });
|
|
|
|
import { defineConfig } from "prisma/config";
|
|
|
|
export default defineConfig({
|
|
schema: "prisma/schema.prisma",
|
|
datasource: {
|
|
// This is now the ONLY place where the DB connection string is defined
|
|
url: process.env.DATABASE_URL,
|
|
},
|
|
}); |