@pintahub/database-schemas 1.7.0 → 1.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Order.js CHANGED
@@ -24,6 +24,11 @@ const Order = new Schema({
24
24
  index: true,
25
25
  },
26
26
 
27
+ name: {
28
+ type: String,
29
+ trim: true,
30
+ },
31
+
27
32
  shipping_address: {
28
33
  type: ShippingAddress,
29
34
  },
@@ -159,6 +159,7 @@ const Product = new Schema({
159
159
  type: String,
160
160
  trim: true,
161
161
  index: true,
162
+ default: 'visible',
162
163
  },
163
164
 
164
165
  updated_at: {