in your prisma.config.ts
you need to add the seed
to your defineConfig
like so:
export default defineConfig({
schema: path.join("prisma", "schema.prisma"),
migrations: {
path: path.join("db", "migrations"),
seed: "tsx prisma/seed.ts"
}
});