Skip to content

Commit

Permalink
Merge pull request #7 from gauravarora/patch-1
Browse files Browse the repository at this point in the history
Update README.md thanks @gauravarora
  • Loading branch information
nielsgl authored Sep 29, 2016
2 parents 762ae6a + f1b2b0f commit 1bfcfbc
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 @@ -54,7 +54,7 @@ then adding Sequelize Paper Trail is as easy as:

```javascript
var PaperTrail = require('sequelize-paper-trail')(sequelize, options={});
PaperTrail.defineModels();
PaperTrail.defineModels({});
```

which loads the Paper Trail library, and the `defineModels()` method sets up a `Revisions` and `RevisionHistory` table. Then for each model that you want to keep a paper trail you simply add:
Expand Down

0 comments on commit 1bfcfbc

Please sign in to comment.