task push notification
This commit is contained in:
parent
20748ccd5d
commit
4f2f7d7114
@ -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 });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user