clean up User.js a little

This commit is contained in:
Quincy Larson
2015-04-24 03:04:53 -07:00
parent 32d1a605ff
commit 12fbc41761

View File

@ -18,10 +18,6 @@ var userSchema = new mongoose.Schema({
github: String, github: String,
linkedin: String, linkedin: String,
tokens: Array, tokens: Array,
finishedWaypoints: {
type: Boolean,
default: false
},
progressTimestamps: { progressTimestamps: {
type: Array, type: Array,
default: [] default: []
@ -144,6 +140,7 @@ var userSchema = new mongoose.Schema({
default: 0 default: 0
}, },
needsMigration: { type: Boolean, default: true }, needsMigration: { type: Boolean, default: true },
finishedWaypoints: { type: Boolean, default: false },
challengesHash: {} challengesHash: {}
}); });