Update views for new variable names. Get profile view working. Update challenge map.

This commit is contained in:
terakilobyte
2015-05-20 21:50:31 -04:00
parent 27a14dbf0f
commit 16ca72f716
17 changed files with 236 additions and 176 deletions

View File

@@ -124,7 +124,10 @@ var userSchema = new mongoose.Schema({
uncompletedCoursewares: Array,
completedCoursewares: [
{
completedDate: Long,
completedDate: {
type: Long,
default: Date.now()
},
_id: String,
name: String,
completedWith: String,
@@ -159,7 +162,11 @@ var userSchema = new mongoose.Schema({
completedWith: String,
solution: String,
githubLink: String,
verified: Boolean
verified: Boolean,
challengeType: {
type: Number,
default: 0
}
}
],
uncompletedChallenges: Array