continue work on user migration

This commit is contained in:
Michael Q Larson
2015-04-13 01:03:26 -04:00
parent e98f445444
commit 83c14cccc4
2 changed files with 32 additions and 24 deletions

View File

@@ -65,7 +65,7 @@ var userSchema = new mongoose.Schema({
default: ''
}
},
challengesHash: {},
portfolio: {
website1Link: {
type: String,
@@ -137,7 +137,8 @@ var userSchema = new mongoose.Schema({
longestStreak: {
type: Number,
default: 0
}
},
needsMigration: { type: Boolean, default: true }
});
/**