notification schema change

This commit is contained in:
2025-03-06 16:15:45 +05:30
parent 13f8c91201
commit 57c97e1ed6
2 changed files with 14 additions and 50 deletions

View File

@@ -8,19 +8,16 @@ const notificationSchema = new mongoose.Schema({
type: String,
unique: true,
},
permitId: mongoose.Types.ObjectId,
tenantId: String,
permitNumber: String,
permitLink: String,
link: String,
status: String,
accelaStatus: String,
changes: Object,
county: {
type: mongoose.Types.ObjectId,
ref: "organization",
},
client: {
type: mongoose.Types.ObjectId,
ref: "organization",
},
county: Object,
client: mongoose.Types.ObjectId,
clientData: Object,
createdAt: Date,
updatedAt: Date,
});