diff options
| author | 8cy <[email protected]> | 2020-07-23 23:24:17 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-07-23 23:24:17 -0700 |
| commit | bb511abc03bb66848947e37a999502b813c77269 (patch) | |
| tree | 612c010fc8317e1cdf11471a18aad0270819d33e /server/src/database/models/GoodbyeModel.ts | |
| parent | fix: if clear amount equal or over 100, round down to 99 (diff) | |
| download | dep-core-bb511abc03bb66848947e37a999502b813c77269.tar.xz dep-core-bb511abc03bb66848947e37a999502b813c77269.zip | |
goodbye old uwufier :cry:
Diffstat (limited to 'server/src/database/models/GoodbyeModel.ts')
| -rw-r--r-- | server/src/database/models/GoodbyeModel.ts | 12 |
1 files changed, 12 insertions, 0 deletions
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 |