15 lines
321 B
TypeScript
15 lines
321 B
TypeScript
// The Prisma CLI runs outside Bun, so .env must be loaded explicitly here.
|
|
import 'dotenv/config'
|
|
|
|
import { defineConfig, env } from 'prisma/config'
|
|
|
|
export default defineConfig({
|
|
schema: 'prisma/schema.prisma',
|
|
migrations: {
|
|
path: 'prisma/migrations',
|
|
},
|
|
datasource: {
|
|
url: env('DATABASE_URL'),
|
|
},
|
|
})
|