mongo-migrate icon indicating copy to clipboard operation
mongo-migrate copied to clipboard

Error on muliple next() calls

Open jbrechtel opened this issue 10 years ago • 1 comments

It would be great if the migrator would error when a migration calls next() multiple times. Presently calling next() multiple times from within a migration will result in that migration being recorded in the migrations collection multiple times.

jbrechtel avatar Sep 03 '14 14:09 jbrechtel

Yea that probably would be a good feature to add. Unfortunately I don't have the time to work on this project right now

afloyd avatar Oct 13 '14 16:10 afloyd