@pintahub/database-schemas 4.3.2 → 4.3.4

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": "4.3.2",
3
+ "version": "4.3.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -196,6 +196,7 @@ const Product = new Schema({
196
196
  user_idea: {
197
197
  type: String,
198
198
  trim: true,
199
+ index: true,
199
200
  },
200
201
 
201
202
  visibility: {
@@ -28,6 +28,11 @@ const ShopifyAPI = new Schema({
28
28
  trim: true,
29
29
  },
30
30
 
31
+ shop_app_cookies: {
32
+ type: String,
33
+ trim: true,
34
+ },
35
+
31
36
  updated_at: {
32
37
  type: Date,
33
38
  default: Date.now
package/schemas/Store.js CHANGED
@@ -62,6 +62,11 @@ const Store = new Schema({
62
62
  index: true,
63
63
  },
64
64
 
65
+ shop_app_id: {
66
+ type: String,
67
+ trim: true,
68
+ },
69
+
65
70
  updated_at: {
66
71
  type: Date,
67
72
  default: Date.now