var mongoose = require('mongoose');

var contributorSchema = mongoose.Schema({
  _id: String,
  status_code: Number,
  _code : { type: mongoose.Schema.ObjectId, ref: 'Code' }
});

module.exports = mongoose.model('contributor', contributorSchema);


var mongoose = require('mongoose');

var contributorSchema = mongoose.Schema({
  _id: String,
  status_code: Number,
  _code : { type: mongoose.Schema.ObjectId, ref: 'Code' },
  github_token: String
});

module.exports = mongoose.model('contributor', contributorSchema);


Add github token to contributor model