clean up User.js a little
This commit is contained in:
@ -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: {}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user