| 1 | import { defineConfig as ormConfig } from "@prisma/orm-postgres/config"; |
| 2 | import { definePrismaConfig } from "prisma/config"; |
| 3 | import { withEffect } from "alchemy/Prisma/ORM/generator"; |
| 4 | |
| 5 | export default definePrismaConfig({ |
| 6 | orm: withEffect( |
| 7 | ormConfig({ |
| 8 | contract: "./src/prisma/contract.ts", |
| 9 | output: "./src/prisma/generated", |
| 10 | }), |
| 11 | { client: false, schemas: true }, |
| 12 | ), |
| 13 | }); |