@pintahub/database-schemas 2.6.7 → 2.6.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "2.6.7",
3
+ "version": "2.6.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Order.js CHANGED
@@ -105,6 +105,11 @@ const Order = new Schema({
105
105
  index: true,
106
106
  },
107
107
 
108
+ vendors_count: {
109
+ type: Number,
110
+ index: true
111
+ },
112
+
108
113
  updated_at: {
109
114
  type: Date,
110
115
  default: Date.now
@@ -68,6 +68,11 @@ const OrderItem = new Schema({
68
68
  trim: true,
69
69
  },
70
70
 
71
+ image_id: {
72
+ type: String,
73
+ trim: true,
74
+ },
75
+
71
76
  updated_at: {
72
77
  type: Date,
73
78
  default: Date.now