var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var userSchema = new Schema({
  githubId: Number,
  name: String,
  avatar_url: String,
  projects: Array
});

module.exports = mongoose.model('User', userSchema);
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var userSchema = new Schema({
  githubId: Number,
  name: String,
  avatar_url: String,
  isDeveloper: Boolean,
  projects: Array
});

module.exports = mongoose.model('User', userSchema);
Add developer flag to user schema
Add developer flag to user schema
