mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-11 05:05:07 -05:00
13 lines
391 B
JavaScript
13 lines
391 B
JavaScript
const mongoose = require('mongoose')
|
|
|
|
const userSchema = new mongoose.Schema({
|
|
username: {type: String, required: true},
|
|
discriminator: {type: String, required: true},
|
|
avatar: {type: String},
|
|
discord_id: {type: String, required: true},
|
|
twitch_name: {type: String},
|
|
twitter_name: {type: String},
|
|
custom_url: {type: String}
|
|
})
|
|
|
|
module.exports = mongoose.model('User', userSchema) |