picker-db 4.3.12 → 4.4.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.
@@ -907,6 +907,12 @@ module.exports = (connection) => {
907
907
  paymentInfoRequired: {
908
908
  type: Boolean,
909
909
  },
910
+ preBookingID: {
911
+ type: connection.base.Schema.ObjectId,
912
+ default: null,
913
+ index: true,
914
+ sparse: true,
915
+ },
910
916
  }, { timestamps: true });
911
917
 
912
918
  BookingSchema.pre("save", async function (next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "4.3.12",
3
+ "version": "4.4.0",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {