@pintahub/database-schemas 1.5.9 → 1.6.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "1.5.9",
3
+ "version": "1.6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -122,7 +122,11 @@ const Product = new Schema({
122
122
  index: true,
123
123
  },
124
124
 
125
- is_imported: {
125
+ source_product: {
126
+ type: Schema.Types.ObjectId,
127
+ },
128
+
129
+ is_imported: {//temporary filed for importing product
126
130
  type: Boolean,
127
131
  default: false,
128
132
  index: true,