Skip to content

Commit 4fbacc5

Browse files
committed
Added updatedBy for Interviews
1 parent 2446ba3 commit 4fbacc5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/scripts/createIndex.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ async function createIndex () {
7171
createdAt: { type: 'date' },
7272
createdBy: { type: 'keyword' },
7373
updatedAt: { type: 'date' },
74-
updatedBy: { type: 'keyword' }
74+
updatedBy: { type: 'keyword' },
75+
deletedAt: { type: 'date' }
7576
}
7677
},
7778
createdAt: { type: 'date' },

src/services/InterviewProcessorService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ processRequestInterview.schema = {
7979
createdAt: Joi.date().required(),
8080
createdBy: Joi.string().uuid().required(),
8181
updatedAt: Joi.date().allow(null),
82-
updatedBy: Joi.string().uuid().allow(null)
82+
updatedBy: Joi.string().uuid().allow(null),
83+
deletedAt: Joi.date().allow(null)
8384
}).required()
8485
}).required(),
8586
transactionId: Joi.string().required()

0 commit comments

Comments
 (0)