@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/Product.js +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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