picker-db 4.11.0 → 4.12.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.
|
@@ -922,21 +922,7 @@ module.exports = (connection) => {
|
|
|
922
922
|
default: null,
|
|
923
923
|
index: true,
|
|
924
924
|
sparse: true,
|
|
925
|
-
}
|
|
926
|
-
metadata: {
|
|
927
|
-
type: {
|
|
928
|
-
referenceRecommendation: {
|
|
929
|
-
reference: { type: String, required: false },
|
|
930
|
-
residential: { type: String, required: false },
|
|
931
|
-
apartment: { type: String, required: false },
|
|
932
|
-
instruction: { type: String, required: false },
|
|
933
|
-
},
|
|
934
|
-
attributes: { type: [{ type: String }], required: false },
|
|
935
|
-
},
|
|
936
|
-
default: {},
|
|
937
|
-
required: false,
|
|
938
|
-
_id: false,
|
|
939
|
-
},
|
|
925
|
+
}
|
|
940
926
|
}, { timestamps: true });
|
|
941
927
|
|
|
942
928
|
BookingSchema.pre("save", async function (next) {
|