lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
807f531a24
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/model/trade/afterSale.js

+ 1 - 0
app/model/trade/afterSale.js

@@ -30,6 +30,7 @@ const afterSale = {
 const schema = new Schema(afterSale, { toJSON: { getters: true, virtuals: true } });
 schema.index({ id: 1 });
 schema.index({ 'meta.createdAt': 1 });
+schema.index({ shop: 1 });
 schema.index({ type: 1 });
 schema.index({ apply_time: 1 });
 schema.index({ end_time: 1 });