From bb511abc03bb66848947e37a999502b813c77269 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 23 Jul 2020 23:24:17 -0700 Subject: goodbye old uwufier :cry: --- server/src/database/models/GoodbyeModel.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 server/src/database/models/GoodbyeModel.ts (limited to 'server/src/database/models/GoodbyeModel.ts') diff --git a/server/src/database/models/GoodbyeModel.ts b/server/src/database/models/GoodbyeModel.ts new file mode 100644 index 0000000..04cc7c4 --- /dev/null +++ b/server/src/database/models/GoodbyeModel.ts @@ -0,0 +1,12 @@ +import mongoose from 'mongoose'; +const goodbyeSchema = new mongoose.Schema({ + _id: mongoose.Schema.Types.ObjectId, + username: String, + userID: String, + guildname: String, + guildID: String, + channelname: String, + channelID: String, + time: String +}); +export = mongoose.model('Goodbye', goodbyeSchema); \ No newline at end of file -- cgit v1.2.3