chore: migrate Prisma config from package.json to prisma.config.ts

Fixes deprecation warning:
"The configuration property 'package.json#prisma' is deprecated and
will be removed in Prisma 7."

Changes:
- Created apps/api/prisma.config.ts with seed configuration
- Removed deprecated "prisma" field from apps/api/package.json
- Uses defineConfig from "prisma/config" per Prisma 6+ standards

Migration verified with successful prisma generate.

Refs https://pris.ly/prisma-config

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
This commit is contained in:
2026-01-31 10:32:48 -06:00
co-authored by Claude Sonnet 4.5
parent 4b373acfbf
commit 66e30ecedb
5 changed files with 67 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
import { defineConfig } from "prisma/config";
export default defineConfig({
migrations: {
seed: "tsx prisma/seed.ts",
},
});