Add isAdmin to user Schema

This commit is contained in:
Julen Landa Alustiza 2017-04-02 12:55:13 +02:00
parent c58cb9eddf
commit 1218e114be

View file

@ -104,6 +104,10 @@ Users.attachSchema(new SimpleSchema({
type: Date,
optional: true,
},
isAdmin: {
type: Boolean,
optional: true
}
}));
// Search a user in the complete server database by its name or username. This