diff --git a/test/include.test.js b/test/include.test.js index 21462b67..865d18cc 100644 --- a/test/include.test.js +++ b/test/include.test.js @@ -1554,7 +1554,7 @@ function setup(done) { expirationDate: Date, }); Post = db.define('Post', { - title: String, + title: {type: String, index: true}, }); Passport.belongsTo('owner', {model: User});