@pintahub/database-schemas 1.5.0 → 1.5.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.
- package/package.json +1 -1
- package/schemas/Product.js +12 -0
package/package.json
CHANGED
package/schemas/Product.js
CHANGED
|
@@ -111,6 +111,18 @@ const Product = new Schema({
|
|
|
111
111
|
index: true,
|
|
112
112
|
},
|
|
113
113
|
|
|
114
|
+
is_imported: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: false,
|
|
117
|
+
index: true,
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
is_uploaded: {//temporary filed for uploading product images
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: false,
|
|
123
|
+
index: true,
|
|
124
|
+
},
|
|
125
|
+
|
|
114
126
|
updated_at: {
|
|
115
127
|
type: Date,
|
|
116
128
|
default: Date.now
|