summaryrefslogtreecommitdiff
path: root/models/Log.js
diff options
context:
space:
mode:
authorRaphael <raphaelkabo@hey.com>2023-05-12 17:03:13 +0100
committerGitHub <noreply@github.com>2023-05-12 17:03:13 +0100
commit67cf89fd0cfdf56c7e6d6d9bdf93d95d679ce2a1 (patch)
treec66bdf874a210997cd1d84942101773ba0175b20 /models/Log.js
parenta75aad783c117aaef2ec19b6b434be0f0d7e57de (diff)
parent50688f573054f60aa7594672615f11713173c147 (diff)
Merge pull request #95 from lowercasename/typescript
Migrate to TypeScript and PNPM
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);