Pull some useful changes from aborted branch

This commit is contained in:
Michael Q Larson
2015-04-16 23:54:26 -07:00
parent d2fae63310
commit d10011acc3
4 changed files with 147 additions and 110 deletions

View File

@@ -18,7 +18,10 @@ var userSchema = new mongoose.Schema({
github: String,
linkedin: String,
tokens: Array,
progressTimestamps: [],
progressTimestamps: {
type: Array,
default: []
},
profile: {
username: {
type: String,
@@ -28,7 +31,7 @@ var userSchema = new mongoose.Schema({
},
bio: {
type: String,
defaults: ''
default: ''
},
name: {
type: String,
@@ -63,7 +66,6 @@ var userSchema = new mongoose.Schema({
default: ''
}
},
challengesHash: {},
portfolio: {
website1Link: {
type: String,