summaryrefslogtreecommitdiff
path: root/server/src/database/models/WelcomeModel.ts
blob: 2a26a6f934b783b92007b0be184955060a0ffb32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import mongoose from 'mongoose';
const welcomeSchema = 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('Welcome', welcomeSchema);