task push notification

This commit is contained in:
Sibunnayak 2024-09-05 11:16:37 +05:30
parent 20748ccd5d
commit 4f2f7d7114

View File

@ -18,6 +18,9 @@ const ProductRecordSchema = new mongoose.Schema({
type: Number, type: Number,
required: true, required: true,
}, },
comments:{
type: String,
},
}); });
// Define main Sales schema // Define main Sales schema
@ -55,9 +58,6 @@ const SalesSchema = new mongoose.Schema({
type: Date, type: Date,
required: true required: true
}, },
comments:{
type: String,
},
products: [ProductRecordSchema], products: [ProductRecordSchema],
}, { timestamps: true, versionKey: false }); }, { timestamps: true, versionKey: false });