diff options
Diffstat (limited to 'schema/logging-schema.js')
| -rw-r--r-- | schema/logging-schema.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/schema/logging-schema.js b/schema/logging-schema.js new file mode 100644 index 0000000..339c7f7 --- /dev/null +++ b/schema/logging-schema.js @@ -0,0 +1,13 @@ +const mongoose = require('mongoose') + +const reqString = { + type: String, + required: true +} + +const loggingSchema = mongoose.Schema({ + _id: reqString, + logChannel: reqString +}) + +module.exports = mongoose.model('logging', loggingSchema)
\ No newline at end of file |
