20 lines
492 B
TypeScript
20 lines
492 B
TypeScript
|
|
// This file was generated by Prisma and assumes you have installed the following:
|
|
// npm install --save-dev prisma dotenv
|
|
import "dotenv/config";
|
|
import { defineConfig } from "prisma/config";
|
|
|
|
export default defineConfig({
|
|
schema: "prisma/schema.prisma",
|
|
migrations: {
|
|
path: "prisma/migrations",
|
|
},
|
|
engine: "classic",
|
|
datasource: {
|
|
url:
|
|
process.env.DIRECT_URL ||
|
|
process.env.DATABASE_URL ||
|
|
"postgresql://localhost:5432/postgres?schema=public",
|
|
},
|
|
});
|