summaryrefslogtreecommitdiff
path: root/models/Log.js
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2023-05-12 16:54:06 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2023-05-12 16:54:06 +0100
commitbfe708d48f603998a1f2c4cad4a6f9f8683dc18f (patch)
treebc0402abb6fd999f00e2b180144a34c851e36abf /models/Log.js
parent69b4c854b399554ed413cc7ff9d625aee5053927 (diff)
Migrate to Typescript
Diffstat (limited to 'models/Log.js')
-rwxr-xr-xmodels/Log.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/models/Log.js b/models/Log.js
deleted file mode 100755
index 95a3ab3..0000000
--- a/models/Log.js
+++ /dev/null
@@ -1,26 +0,0 @@
-const mongoose = require('mongoose');
-
-const LogSchema = new mongoose.Schema({
- status: {
- type: String,
- trim: true,
- required: true
- },
- process: {
- type: String,
- trim: true,
- required: true
- },
- message: {
- type: String,
- trim: true,
- required: true
- },
- timestamp: {
- type: Date,
- trim: true,
- required: true
- }
-});
-
-module.exports = mongoose.model('Log', LogSchema);