payservedb 1.9.0 → 1.9.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": "payservedb",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -72,7 +72,8 @@ const CustomerSchema = new mongoose.Schema({
72
72
  qrCode: {
73
73
  type: Boolean,
74
74
  required: false
75
- }
75
+ },
76
+ qrUniqueCode: { type: String, unique: true }
76
77
  },
77
78
  ],
78
79
  staff: [
@@ -92,7 +93,8 @@ const CustomerSchema = new mongoose.Schema({
92
93
  qrCode: {
93
94
  type: Boolean,
94
95
  required: false
95
- }
96
+ },
97
+ qrUniqueCode: { type: String, unique: true }
96
98
  },
97
99
  ],
98
100
  vehicles: [
@@ -116,7 +118,8 @@ const CustomerSchema = new mongoose.Schema({
116
118
  qrCode: {
117
119
  type: Boolean,
118
120
  required: false
119
- }
121
+ },
122
+ qrUniqueCode: { type: String, unique: true }
120
123
  },
121
124
  ],
122
125
  });