generate:pg "snapshot.json data is malformed" error after merge conflicts
Hi there, my team and I use the following method to avoid merge issues:
If master has migrations that you are missing, drop all your new migrations, merge in the master, then run generate:pg to re-generate your migrations.
Based on my understanding of drizzle-kit, this should work, but generate:pg is consistently failing with the above error after I drop my new migrations then merge in my team's. Anyone run into this before? Is there any way to get more info on what the issue with the snapshot is?
2 Replies
Would love to help you here
could you please list a step by step commands you are executing?
Thanks! This issue was fixed when I updated drizzle-kit from 0.19.3 to 0.19.4
Maybe its because my teammate was on 0.19.4 before I was