ADD: Description to belongingModel

ADD: Typesense Index All function
This commit is contained in:
2025-01-02 16:00:38 +03:30
parent d912e476cf
commit 25a6978346
2 changed files with 19 additions and 19 deletions
+2 -6
View File
@@ -9,15 +9,11 @@ const belongingSchema = new mongoose.Schema(
required: true,
unique: true,
},
belongingCategory: {
category: {
type: ObjectID,
ref: 'Category',
},
projectCode: {
type: String,
required: true,
default: false,
},
description: String,
relatedProjects: [String],
location: {
type: {