import { defineConfig } from "prisma/config"; // `prisma generate` runs in CI and builds without a database, so the URL is optional here; // migrate commands fail clearly if it is missing. export default defineConfig({ schema: "prisma/schema.prisma", migrations: { path: "prisma/migrations" }, datasource: { url: process.env.DATABASE_URL ?? "" }, });