From 1218e114beb8cb4428c5bf43a76382981b89d09a Mon Sep 17 00:00:00 2001 From: Julen Landa Alustiza Date: Sun, 2 Apr 2017 12:55:13 +0200 Subject: Add isAdmin to user Schema --- models/users.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'models') diff --git a/models/users.js b/models/users.js index 7b484f92..b06a6460 100644 --- a/models/users.js +++ b/models/users.js @@ -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 -- cgit v1.2.3-1-g7c22