feat(loads): Adding shipper_warehouse field to loads model
This commit is contained in:
@@ -41,6 +41,8 @@ const schema = new Schema({
|
||||
posted_by_name: { type: String }, // search purpose
|
||||
bidder: { type: Schema.Types.ObjectId, ref: 'users' },
|
||||
|
||||
shipper_warehouse : { type: Schema.Types.ObjectId, ref: 'branches' },
|
||||
|
||||
origin: address,
|
||||
origin_geo: {
|
||||
type: pointSchema,
|
||||
|
||||
Reference in New Issue
Block a user