@pintahub/database-schemas 2.1.4 → 2.1.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 +1 -1
- package/schemas/Product.js +10 -0
package/package.json
CHANGED
package/schemas/Product.js
CHANGED
|
@@ -203,6 +203,16 @@ const Product = new Schema({
|
|
|
203
203
|
trim: true,
|
|
204
204
|
},
|
|
205
205
|
|
|
206
|
+
is_featured: {
|
|
207
|
+
type: Boolean,
|
|
208
|
+
default: false,
|
|
209
|
+
},
|
|
210
|
+
|
|
211
|
+
is_trending: {
|
|
212
|
+
type: Boolean,
|
|
213
|
+
default: false,
|
|
214
|
+
},
|
|
215
|
+
|
|
206
216
|
updated_at: {
|
|
207
217
|
type: Date,
|
|
208
218
|
default: Date.now
|