gerty1
DTDrizzle Team
•Created by gerty1 on 7/18/2023 in #help
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?
5 replies