payservedb 2.0.9 → 2.1.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": "payservedb",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -89,6 +89,10 @@ const CustomerSchema = new mongoose.Schema({
89
89
  type:Boolean,
90
90
  required:false
91
91
  },
92
+ unit:{
93
+ type: String,
94
+ required: true
95
+ },
92
96
  qrUniqueCode:
93
97
  {
94
98
  type: String,
@@ -118,6 +122,10 @@ const CustomerSchema = new mongoose.Schema({
118
122
  type: String,
119
123
  required: false,
120
124
  },
125
+ unit:{
126
+ type: String,
127
+ required: true
128
+ },
121
129
  qrCode: {
122
130
  type: Boolean,
123
131
  required: false
@@ -154,6 +162,10 @@ const CustomerSchema = new mongoose.Schema({
154
162
  type: String,
155
163
  required: false
156
164
  },
165
+ unit:{
166
+ type: String,
167
+ required: true
168
+ },
157
169
  qrCode: {
158
170
  type: Boolean,
159
171
  required: false