T
tRPC

next-prisma-websockets-starter seeds twice on 'pnpm dx'

next-prisma-websockets-starter seeds twice on 'pnpm dx'

FFunction4/28/2023
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#L21

Looking for more? Join the community!

T
tRPC

next-prisma-websockets-starter seeds twice on 'pnpm dx'

Join Server