added icons to notifications

This commit is contained in:
arnaucode
2017-07-13 20:39:19 +02:00
parent af912e3a3b
commit 73c386ff7f
5 changed files with 23 additions and 16 deletions

View File

@@ -14,7 +14,8 @@ var notificationSchema = new Schema({
message: {type: String},
link: {type: String},//aquí oju, a la app i a la web calen links diferents
date: {type: Date},
dateviewed: {type: Date}
dateviewed: {type: Date},
icon: {type: String}
})
notificationSchema.plugin(mongooseUniqueValidator);