picker-db 4.2.1 → 4.2.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.
@@ -885,7 +885,7 @@ module.exports = (connection) => {
885
885
  workspaceCountry: {
886
886
  type: String,
887
887
  },
888
- publicBookingToken: { type: String, sparse: true, unique: true },
888
+ publicBookingToken: { type: String, sparse: true, unique: true, index: true },
889
889
  }, { timestamps: true });
890
890
 
891
891
  BookingSchema.pre("save", function (next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {