@cendo/database-schemas 2.0.6 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/Order.js +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cendo/database-schemas",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],
package/schemas/Order.js CHANGED
@@ -185,6 +185,11 @@ const Order = new Schema({
185
185
  index: true
186
186
  },
187
187
 
188
+ estimate_delivery_date: {
189
+ type: Date,
190
+ index: true,
191
+ },
192
+
188
193
  pushed_at: {
189
194
  type: Date,
190
195
  index: true
@@ -219,5 +224,9 @@ Order.index({
219
224
  'logistic_data.tracking_number': 1,
220
225
  })
221
226
 
227
+ Order.index({
228
+ 'fulfillments.number': 1,
229
+ })
230
+
222
231
  module.exports = Order
223
232