summaryrefslogtreecommitdiff
path: root/models/Log.js
diff options
context:
space:
mode:
authorDarius Kazemi <darius.kazemi@gmail.com>2020-01-24 16:16:27 -0800
committerDarius Kazemi <darius.kazemi@gmail.com>2020-01-24 16:16:27 -0800
commita390b02416777b045f03a286bfbb02ac369571e6 (patch)
tree8e690cf7a80635685b258eb6a4b2a1ca3f79ab36 /models/Log.js
parent111406040ec9f7f48b28077c8eea95a792b14cc7 (diff)
Converting all tabs to two-spaces
Diffstat (limited to 'models/Log.js')
-rwxr-xr-xmodels/Log.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/models/Log.js b/models/Log.js
index 6ed474b..95a3ab3 100755
--- a/models/Log.js
+++ b/models/Log.js
@@ -1,26 +1,26 @@
const mongoose = require('mongoose');
const LogSchema = new mongoose.Schema({
- status: {
+ status: {
type: String,
trim: true,
- required: true
+ required: true
},
- process: {
+ process: {
type: String,
trim: true,
- required: true
+ required: true
},
message: {
type: String,
trim: true,
- required: true
+ required: true
},
- timestamp: {
+ timestamp: {
type: Date,
trim: true,
- required: true
+ required: true
}
});
-module.exports = mongoose.model('Log', LogSchema); \ No newline at end of file
+module.exports = mongoose.model('Log', LogSchema);