Change migration middleware to not rely on boolean flag in User model

This commit is contained in:
terakilobyte
2015-05-25 19:55:18 -04:00
parent 0debdc5fd6
commit 5f169001f6
4 changed files with 99 additions and 100 deletions

View File

@@ -168,7 +168,7 @@ var userSchema = new mongoose.Schema({
}
}
],
uncompletedChallenges: Array
uncompletedChallenges: Array,
});
/**