How to perform migrations in Mongodb

amitchambial

Amit Chambial

Posted on June 23, 2020

How to perform migrations in Mongodb

Hey everyone

I am working on a side project where I am using mongodb nodejs nextjs.

I am performing some schema update and my code is breaking up as the objects created before schema update have not been updated or not have a particular field.
Can somebody provide me the best way to perform dB migrations in mongodb using javascript.

💖 💪 🙅 🚩
amitchambial
Amit Chambial

Posted on June 23, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related