I'm picking back up with a project I started a few...
# orm-help
j
I'm picking back up with a project I started a few weeks ago. I have a db deployed to app.prisma.io, and I've made changes to datamodel.prism and seed.graphql. When I run
prisma deploy
the datamodel changes are reflected on the server, but the data from seed.graphql isn't there. How do I reset the data to use what's in seed.graphql?
I thought
prisma seed --reset
should do the trick, but I'm getting an error that may be unrelated to my question.
Copy code
A unique constraint would be violated on User. Details: Field name = email
I'm not 100% sure what that means
Ah, I had to do
prisma reset
and then
prisma seed
Problem solved 🎉
j
👍