@pintahub/database-schemas 1.4.1 → 1.4.3

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": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -27,6 +27,7 @@ const GroupItem = new Schema({
27
27
  index: {
28
28
  type: Number,
29
29
  default: 0,
30
+ index: true,
30
31
  },
31
32
 
32
33
  updated_at: {
@@ -96,6 +96,10 @@ const Product = new Schema({
96
96
  index: true,
97
97
  },
98
98
 
99
+ group: {
100
+ type: Schema.Types.ObjectId,
101
+ },
102
+
99
103
  last_synced_at: {
100
104
  type: Date,
101
105
  default: Date.now