ADD: unit property
This commit is contained in:
@@ -13,6 +13,10 @@ const belongingSchema = new mongoose.Schema(
|
|||||||
type: ObjectID,
|
type: ObjectID,
|
||||||
ref: 'Category',
|
ref: 'Category',
|
||||||
},
|
},
|
||||||
|
unit: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
description: String,
|
description: String,
|
||||||
relatedProjects: [String],
|
relatedProjects: [String],
|
||||||
location: {
|
location: {
|
||||||
|
|||||||
Reference in New Issue
Block a user