Upgrade Prisma to v7
This commit is contained in:
parent
54343f61d5
commit
307a291c71
54 changed files with 34750 additions and 243 deletions
14
prisma.config.ts
Normal file
14
prisma.config.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import "dotenv/config"
|
||||
import path from "node:path"
|
||||
|
||||
import { defineConfig, env } from "prisma/config"
|
||||
|
||||
export default defineConfig({
|
||||
schema: path.join("prisma", "schema.prisma"),
|
||||
migrations: {
|
||||
path: path.join("prisma", "migrations"),
|
||||
},
|
||||
datasource: {
|
||||
url: env("DATABASE_URL"),
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue