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

  1. let mongoose = require('mongoose')
  2. module.exports = {
  3. userModel : mongoose.model('users', new mongoose.Schema({
  4. _id: String,
  5. joined_at: Number,
  6. team_id: String,
  7. profession: Array,
  8. rank: Number,
  9. xp: Number,
  10. email: String,
  11. trello_id: String
  12. })),
  13. teamModel: mongoose.model('teams', new mongoose.Schema({
  14. _id: mongoose.Types.ObjectId,
  15. team_name: String,
  16. creator: String,
  17. mods: Array,
  18. member_role: String,
  19. mod_role: String,
  20. text_channel: String,
  21. voice_channel: String,
  22. board_id: String
  23. }))
  24. }