diff options
Diffstat (limited to 'src/services/logs/log.schema.js')
-rw-r--r-- | src/services/logs/log.schema.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/services/logs/log.schema.js b/src/services/logs/log.schema.js new file mode 100644 index 0000000..bb8d4a5 --- /dev/null +++ b/src/services/logs/log.schema.js @@ -0,0 +1,7 @@ +const { Schema, Types } = require('mongoose'); + +module.exports = new Schema({ + eventId: Types.ObjectId, + message: String +}, { timestamps: true }); + |