summaryrefslogtreecommitdiff
path: root/server/src/database/models/GoodbyeModel.ts
blob: 04cc7c407fe1480a59f5952f3715dd70ae5730be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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);