|
@@ -23,6 +23,7 @@ schema.index({ type: 1 });
|
|
|
schema.index({ purchase_type: 1 });
|
|
|
schema.index({ contacts: 1 });
|
|
|
schema.index({ status: 1 });
|
|
|
+schema.index({ money: 1 });
|
|
|
schema.index({ 'meta.createdAt': 1 });
|
|
|
schema.plugin(metaPlugin);
|
|
|
module.exports = app => {
|