Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ build/Release
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

# Editor config
.idea/
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ var Migration = require('mongration').Migration;
var mydbMigration = new Migration(mydbConfig);
```

Mongration accepts an additional `options` object which allows you to adjust the behavior. In essence you can opt out core security features.
```
var options = {
ignoreChecksum: true
ignoreOrder: true
};
```
:bomb: You shouldn't use these flags in production, but they may come in handy while in development.


### Creating migration steps

Expand Down
Loading