diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 16:54:06 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 16:54:06 +0100 |
commit | bfe708d48f603998a1f2c4cad4a6f9f8683dc18f (patch) | |
tree | bc0402abb6fd999f00e2b180144a34c851e36abf /models/Log.js | |
parent | 69b4c854b399554ed413cc7ff9d625aee5053927 (diff) |
Migrate to Typescript
Diffstat (limited to 'models/Log.js')
-rwxr-xr-x | models/Log.js | 26 |
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); |