@pintahub/database-schemas 1.8.4 → 1.8.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "1.8.4",
3
+ "version": "1.8.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Group.js CHANGED
@@ -32,6 +32,7 @@ const Group = new Schema({
32
32
  style: {
33
33
  type: String,
34
34
  trim: true,
35
+ default: 'popup'
35
36
  },
36
37
 
37
38
  status: {
@@ -109,6 +109,7 @@ const Product = new Schema({
109
109
 
110
110
  group: {
111
111
  type: Schema.Types.ObjectId,
112
+ index: true,
112
113
  },
113
114
 
114
115
  last_synced_at: {