15 lines
287 B
TypeScript
15 lines
287 B
TypeScript
import { defineConfig, env } from "prisma/config";
|
|
import { config } from "dotenv";
|
|
config();
|
|
|
|
export default defineConfig({
|
|
schema: "prisma/schema.prisma",
|
|
migrations: {
|
|
path: "prisma/migrations",
|
|
},
|
|
engine: "classic",
|
|
datasource: {
|
|
url: env("DATABASE_URL"),
|
|
},
|
|
});
|