test: add property index to support cloudant (#1750)
This commit is contained in:
parent
d49774c590
commit
58b3c4f148
|
@ -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