add: notif error log
This commit is contained in:
11
validate/notification_error_log.schema.js
Normal file
11
validate/notification_error_log.schema.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const Joi = require("joi");
|
||||
|
||||
const insertNotificationErrorLogSchema = Joi.object({
|
||||
notification_error_id: Joi.number().integer().required(),
|
||||
contact_id: Joi.number().integer().required(),
|
||||
notification_error_log_description: Joi.string().required()
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
insertNotificationErrorLogSchema,
|
||||
};
|
||||
Reference in New Issue
Block a user