@pintahub/database-schemas 3.2.0 → 3.2.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 +10 -5
package/package.json
CHANGED
package/schemas/Product.js
CHANGED
|
@@ -28,11 +28,6 @@ const ProductMeta = new Schema({
|
|
|
28
28
|
type: String,
|
|
29
29
|
trim: true,
|
|
30
30
|
},
|
|
31
|
-
|
|
32
|
-
stage: {
|
|
33
|
-
type: String,
|
|
34
|
-
trim: true,
|
|
35
|
-
},
|
|
36
31
|
})
|
|
37
32
|
|
|
38
33
|
const Product = new Schema({
|
|
@@ -277,6 +272,16 @@ const Product = new Schema({
|
|
|
277
272
|
default: false,
|
|
278
273
|
},
|
|
279
274
|
|
|
275
|
+
media_size: {
|
|
276
|
+
type: Number,
|
|
277
|
+
trim: true,
|
|
278
|
+
},
|
|
279
|
+
|
|
280
|
+
stage: {//temporary field for edit product
|
|
281
|
+
type: String,
|
|
282
|
+
trim: true,
|
|
283
|
+
},
|
|
284
|
+
|
|
280
285
|
updated_at: {
|
|
281
286
|
type: Date,
|
|
282
287
|
default: Date.now
|