The code above works as expected, it removes the collection pets1 and remove the right document in the migration collection.
Expected behaviour
It should remove the right document in the migration collection when it succeed.
Environment
db-migrate@0.11.6
db-migrate-mongodb@1.5.0
Node version: v12.4.0
Platform: Mac
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/78362554-promises-not-removing-the-document-in-migration?utm_campaign=plugin&utm_content=tracker%2F12293389&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12293389&utm_medium=issues&utm_source=github).
I'm submitting a...
Current behaviour
The code above remove the collection
pets
but doesn't remove the document in the migration collection.The code above works as expected, it removes the collection
pets1
and remove the right document in the migration collection.Expected behaviour
It should remove the right document in the migration collection when it succeed.
Environment