t
tRPC
F
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
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Database error on examples-next-prisma-starter
M
mokyx / ❓-help
3y ago