@cendo/database-schemas 1.9.4 → 1.9.6
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.
- package/package.json +1 -1
- package/schemas/Order.js +10 -0
package/package.json
CHANGED
package/schemas/Order.js
CHANGED
|
@@ -142,6 +142,12 @@ const Order = new Schema({
|
|
|
142
142
|
index: true
|
|
143
143
|
},
|
|
144
144
|
|
|
145
|
+
push_to_carrier_attempts: {
|
|
146
|
+
type: Number,
|
|
147
|
+
default: 0,
|
|
148
|
+
index: true
|
|
149
|
+
},
|
|
150
|
+
|
|
145
151
|
sync_id: {
|
|
146
152
|
type: String,
|
|
147
153
|
trim: true,
|
|
@@ -181,5 +187,9 @@ Order.index({
|
|
|
181
187
|
type: 1,
|
|
182
188
|
})
|
|
183
189
|
|
|
190
|
+
Order.index({
|
|
191
|
+
'logistic_data.tracking_number': 1,
|
|
192
|
+
})
|
|
193
|
+
|
|
184
194
|
module.exports = Order
|
|
185
195
|
|