Join Slack
Powered by
what’s the recommended way to migrate schema whene...
# developers
j
Jimmy Chan
06/28/2022, 8:38 AM
what’s the recommended way to migrate schema whenever I update the repo. It keeps saying there’s a migration conflict during build until I run
migrate dev
but it forces me to reset db
p
Peter Pistorius
06/28/2022, 10:40 AM
@Jimmy Chan
you could try using snaplet's data-only restorations if you want to keep what you currently have in your database.
Peter Pistorius
06/28/2022, 10:41 AM
https://docs.snaplet.dev/tutorials/prisma-seed
, we're currently working on improved docs over here:
https://deploy-preview-42--snaplet-docs.netlify.app/quickstart
j
Jimmy Chan
06/28/2022, 10:41 AM
Ok cool, I'll look into it and +1 for better docs
p
Peter Pistorius
06/28/2022, 10:41 AM
Please ping me if you need some help!
👍 1
Open in Slack
Previous
Next