task push notification
This commit is contained in:
parent
20748ccd5d
commit
4f2f7d7114
@ -18,6 +18,9 @@ const ProductRecordSchema = new mongoose.Schema({
|
||||
type: Number,
|
||||
required: true,
|
||||
},
|
||||
comments:{
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
|
||||
// Define main Sales schema
|
||||
@ -55,9 +58,6 @@ const SalesSchema = new mongoose.Schema({
|
||||
type: Date,
|
||||
required: true
|
||||
},
|
||||
comments:{
|
||||
type: String,
|
||||
},
|
||||
products: [ProductRecordSchema],
|
||||
}, { timestamps: true, versionKey: false });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user