File size: 334 Bytes
1fe7075
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import 'dotenv/config';
import { defineConfig } from 'prisma/config';

export default defineConfig({
  schema: 'prisma/schema.prisma',
  migrations: { path: 'prisma/migrations' },
  // `prisma generate` needs no database; migrate commands fail clearly without one.
  datasource: { url: process.env.PREVISION_DATABASE_URL ?? '' },
});