This commit is contained in:
2019-07-17 03:21:49 -04:00
parent d5b34dc81f
commit 77f836842b
10 changed files with 145 additions and 4 deletions

View File

@@ -3,6 +3,11 @@ const timestamps = require('mongoose-timestamp');
const BidSchema = new mongoose.Schema(
{
eventId: {
type: String,
required: true,
trim: true,
},
itemId: {
type: String,
required: true,