PrismaP
Prisma16mo ago
1 reply
ojoaoguilherme

Squashing migrations from Dev into Main

I have a production database and a development database which has different prisma models

I want to squash my development migrations which I branched from production, I managed to do that on development but it reset my development database so I concerned I am going to loose all my data

What is the correct flow of doing this, I am confused if I need to literaly delete manualy all my migrations or npx prisma migrate reset, any solutions??

I have to spin up this update max by monday, its a blocker for a feature we are releasing
Was this page helpful?