From 42f1d34dddfa851e4d0b451c90f867f44738d0e5 Mon Sep 17 00:00:00 2001 From: jerick Date: Mon, 20 Apr 2026 17:01:18 -0400 Subject: [PATCH] fix: move seed command to prisma.config.ts (Prisma 7 requirement) Prisma 7 no longer reads the seed command from package.json. It must be set in prisma.config.ts under migrations.seed. Co-Authored-By: Claude Sonnet 4.6 --- prisma.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/prisma.config.ts b/prisma.config.ts index 831a20f..846b38d 100644 --- a/prisma.config.ts +++ b/prisma.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ schema: "prisma/schema.prisma", migrations: { path: "prisma/migrations", + seed: "tsx prisma/seed.ts", }, datasource: { url: process.env["DATABASE_URL"],