aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
Diffstat (limited to 'schema')
-rw-r--r--schema/logging-schema.js13
-rw-r--r--schema/quote-schema.js17
2 files changed, 0 insertions, 30 deletions
diff --git a/schema/logging-schema.js b/schema/logging-schema.js
deleted file mode 100644
index 339c7f7..0000000
--- a/schema/logging-schema.js
+++ /dev/null
@@ -1,13 +0,0 @@
-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
diff --git a/schema/quote-schema.js b/schema/quote-schema.js
deleted file mode 100644
index d1c7db8..0000000
--- a/schema/quote-schema.js
+++ /dev/null
@@ -1,17 +0,0 @@
-const mongoose = require('mongoose');
-
-const reqString = {
- type: String,
- required: true
-}
-
-const quoteSchema = mongoose.Schema({
- quoteID: reqString,
- author: reqString,
- authorImage: reqString,
- quote: reqString,
- year: reqString
-
-})
-
-module.exports = mongoose.model('quote', quoteSchema) \ No newline at end of file