next-prisma-websockets-starter seeds twice on 'pnpm dx'
Hi, i'm using this starter template for my app. The
dx
script from package.json runs both prisma migrate
as well as prisma seed
and the former seems to run the seeder as well, causing data to exist twice in the database after running dx
.
Link to line in package.json: https://github.com/trpc/examples-next-prisma-websockets-starter/blob/db3a7794caa8d024f7115ce1f767d84c0172dd93/package.json#L210 Replies