@pintahub/database-schemas 2.6.0 → 2.6.2

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": "@pintahub/database-schemas",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Order.js CHANGED
@@ -95,6 +95,15 @@ const Order = new Schema({
95
95
  index: true,
96
96
  },
97
97
 
98
+ items_count: {
99
+ type: Number,
100
+ },
101
+
102
+ vendors: {
103
+ type: [String],
104
+ trim: true,
105
+ },
106
+
98
107
  updated_at: {
99
108
  type: Date,
100
109
  default: Date.now