@pintahub/database-schemas 3.2.0 → 3.2.1

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": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,11 +28,6 @@ const ProductMeta = new Schema({
28
28
  type: String,
29
29
  trim: true,
30
30
  },
31
-
32
- stage: {
33
- type: String,
34
- trim: true,
35
- },
36
31
  })
37
32
 
38
33
  const Product = new Schema({
@@ -277,6 +272,11 @@ const Product = new Schema({
277
272
  default: false,
278
273
  },
279
274
 
275
+ stage: {//temporary field for edit product
276
+ type: String,
277
+ trim: true,
278
+ },
279
+
280
280
  updated_at: {
281
281
  type: Date,
282
282
  default: Date.now