You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
636 B

let mongoose = require('mongoose')
module.exports = {
userModel : mongoose.model('users', new mongoose.Schema({
_id: String,
joined_at: Number,
team_id: String,
profession: Array,
rank: Number,
xp: Number,
email: String,
trello_id: String
})),
teamModel: mongoose.model('teams', new mongoose.Schema({
_id: mongoose.Types.ObjectId,
team_name: String,
creator: String,
mods: Array,
member_role: String,
mod_role: String,
text_channel: String,
voice_channel: String,
board_id: String
}))
}