import "dotenv/config"; import { defineConfig } from "prisma/config"; // Prisma 7 loads the datasource URL from the config file, not from schema.prisma. // Runtime clients use the same DATABASE_URL through PrismaBetterSqlite3. export default defineConfig({ schema: "prisma/schema.prisma", migrations: { path: "prisma/migrations", seed: "tsx prisma/seed.ts", }, datasource: { url: process.env.DATABASE_URL ?? "", }, });