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