officeName and city added

master^2
Bhaskar 2 months ago
parent c0fabc90af
commit 1025bf40fa

@ -152,6 +152,8 @@ const citySchema = new mongoose.Schema(
alternativePhone: { type: String }, alternativePhone: { type: String },
departmentId: String, // new departmentId: String, // new
departmentName: String, departmentName: String,
officeName: String, // new
city: String,
} }
], ],

@ -26,6 +26,8 @@ module.exports = function (fastify, opts, next) {
alternativePhone: { type: "string" }, alternativePhone: { type: "string" },
email: { type: "string" }, email: { type: "string" },
status: { type: "string" }, status: { type: "string" },
officeName: { type: "string" },
city: { type: "string" },
}, },
}, },
}, },

Loading…
Cancel
Save