add all Changes of #4565

This commit is contained in:
Negue
2015-03-27 18:35:32 +01:00
parent fc00fb7103
commit 7105bc195f
9 changed files with 129 additions and 7 deletions

View File

@@ -387,7 +387,12 @@ var UserSchema = new Schema({
todos: {type:[TaskSchemas.TodoSchema]},
rewards: {type:[TaskSchemas.RewardSchema]},
extra: Schema.Types.Mixed
extra: Schema.Types.Mixed,
pushDevices: {type: [{
regId: {type: String},
type: {type: String}
}],'default': []}
}, {
strict: true,