fix: add index for couchdb tests (#1720)
This commit is contained in:
parent
9095f32859
commit
f21e770016
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue