fix: add index for couchdb tests (#1720)

This commit is contained in:
Janny 2019-04-17 15:16:06 -04:00 committed by GitHub
parent 9095f32859
commit f21e770016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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});