mirror of
https://github.com/andwati/blog-nest.git
synced 2026-12-04 17:58:53 +00:00
chore: update pnpm-workspace.yaml to include @prisma/engines and prisma in onlyBuiltDependencies
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import path from 'node:path'
|
||||
|
||||
import { config as loadEnv } from 'dotenv'
|
||||
import { defineConfig, env } from 'prisma/config'
|
||||
|
||||
loadEnv({
|
||||
path: path.resolve(__dirname, '../../.env'),
|
||||
})
|
||||
|
||||
export default defineConfig({
|
||||
schema: 'prisma/schema.prisma',
|
||||
migrations: {
|
||||
path: 'prisma/migrations',
|
||||
},
|
||||
datasource: {
|
||||
url: env('DATABASE_URL'),
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user