diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-07-29 16:00:22 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-07-29 16:00:22 -0400 |
| commit | 06dd6383d7a239817c2a9724465896ef7da70bc2 (patch) | |
| tree | 8c5f63e6adc1a5cd47737d88e44fd7c76f325ea2 /schema/logging-schema.js | |
| parent | ffc85798c04897d1ddaed61a9be40e5bb0a8792f (diff) | |
| download | AleeBot-06dd6383d7a239817c2a9724465896ef7da70bc2.tar.gz AleeBot-06dd6383d7a239817c2a9724465896ef7da70bc2.tar.bz2 AleeBot-06dd6383d7a239817c2a9724465896ef7da70bc2.zip | |
Big changes
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 |
