@pintahub/database-schemas 2.7.6 → 2.7.7

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/Order.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "2.7.6",
3
+ "version": "2.7.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Order.js CHANGED
@@ -120,6 +120,11 @@ const Order = new Schema({
120
120
  index: true,
121
121
  },
122
122
 
123
+ payment_method: {
124
+ type: String,
125
+ trim: true,
126
+ },
127
+
123
128
  updated_at: {
124
129
  type: Date,
125
130
  default: Date.now