@pintahub/database-schemas 2.0.5 → 2.0.7
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 +11 -0
- package/schemas/ProductRaw.js +6 -0
package/package.json
CHANGED
package/schemas/Product.js
CHANGED
|
@@ -186,6 +186,17 @@ const Product = new Schema({
|
|
|
186
186
|
index: true,
|
|
187
187
|
},
|
|
188
188
|
|
|
189
|
+
available_for_sale: {
|
|
190
|
+
type: Boolean,
|
|
191
|
+
default: true,
|
|
192
|
+
index: true,
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
version: {
|
|
196
|
+
type: String,
|
|
197
|
+
trim: true,
|
|
198
|
+
},
|
|
199
|
+
|
|
189
200
|
updated_at: {
|
|
190
201
|
type: Date,
|
|
191
202
|
default: Date.now
|
package/schemas/ProductRaw.js
CHANGED