picker-db 4.3.12 → 4.5.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.
@@ -168,6 +168,9 @@ module.exports = (connection) => {
168
168
  workspaceName: {
169
169
  type: String,
170
170
  },
171
+ workspaceUniqueID: {
172
+ type: String,
173
+ },
171
174
  // #endregion
172
175
  // #region Customer Info
173
176
  customer: {
@@ -907,6 +910,12 @@ module.exports = (connection) => {
907
910
  paymentInfoRequired: {
908
911
  type: Boolean,
909
912
  },
913
+ preBookingID: {
914
+ type: connection.base.Schema.ObjectId,
915
+ default: null,
916
+ index: true,
917
+ sparse: true,
918
+ },
910
919
  }, { timestamps: true });
911
920
 
912
921
  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.5.0",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {