Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix misunderstanding line [2]
  • Loading branch information
nassor committed Nov 28, 2014
1 parent fcc1276 commit bdbdb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var Post = new Schema({
, updated_for: String
})

Post.plugin(mongooseHistory, options)
Post.plugin(mongooseHistory)
```

The plugin will create a new collection with format: originalCollectionName + **_history**, in example: __posts_history__. You can also change the name of the collection by setting the configuration customCollectionName:
Expand Down

0 comments on commit bdbdb10

Please sign in to comment.