tRPCttRPC
Powered by
functiondjF
tRPC•3y ago•
1 reply
functiondj

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

Hi, i'm using this starter template for my app. The
dx
dx
script from package.json runs both
prisma migrate
prisma migrate
as well as
prisma seed
prisma seed
and the former seems to run the seeder as well, causing data to exist twice in the database after running
dx
dx
.
Link to line in package.json: https://github.com/trpc/examples-next-prisma-websockets-starter/blob/db3a7794caa8d024f7115ce1f767d84c0172dd93/package.json#L21
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Database error on examples-next-prisma-starter
mokyxMmokyx / ❓-help
3y ago