import 'dotenv/config'; import { defineConfig } from 'prisma/config'; export default defineConfig({ schema: 'prisma/schema.prisma', migrations: { path: 'prisma/migrations', seed: 'tsx prisma/seed.ts', }, datasource: { // Not required for generating the client, which needs no database url: process.env.DATABASE_URL ?? '', // Only for checking the migrations against the schema (`migrate diff --from-migrations`) shadowDatabaseUrl: process.env.SHADOW_DATABASE_URL, }, });