Saturday, 17 August 2013

How to properly handle mongoose schema migrations?

How to properly handle mongoose schema migrations?

I'm completely new to MongoDB & Mongoose and can't seem to find an answer
as to how to handle migrations when a schema changes.
I'm used to running migration SQL scripts that alter table structure and
any underlying data that needs to be changed. This typically involves DB
downtime.
How is this typically handled within MongoDB/Mongoose? Any gotcha's that I
need to be aware of?

No comments:

Post a Comment