@pintahub/database-schemas 1.5.8 → 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 +1 -1
- package/schemas/Product.js +11 -1
package/package.json
CHANGED
package/schemas/Product.js
CHANGED
|
@@ -122,7 +122,11 @@ const Product = new Schema({
|
|
|
122
122
|
index: true,
|
|
123
123
|
},
|
|
124
124
|
|
|
125
|
-
|
|
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,
|
|
@@ -137,6 +141,12 @@ const Product = new Schema({
|
|
|
137
141
|
trello_id: {
|
|
138
142
|
type: String,
|
|
139
143
|
trim: true,
|
|
144
|
+
index: true,
|
|
145
|
+
},
|
|
146
|
+
|
|
147
|
+
user_idea: {
|
|
148
|
+
type: String,
|
|
149
|
+
trim: true,
|
|
140
150
|
},
|
|
141
151
|
|
|
142
152
|
updated_at: {
|