From 68e9c5361e4071a566e4fd19f33f440b57ecc7b8 Mon Sep 17 00:00:00 2001 From: yamanq Date: Mon, 8 Aug 2016 06:18:01 -0400 Subject: [PATCH] changed schema --- hourglass/server/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hourglass/server/main.js b/hourglass/server/main.js index 00041a8..3461fb4 100644 --- a/hourglass/server/main.js +++ b/hourglass/server/main.js @@ -16,14 +16,14 @@ classes.schema = new SimpleSchema({ name: {type: String, label: "Class Name"}, hour: {type: String, optional: true}, teacher: {type: String, optional: true}, + admin: {type: String, optional: true}, status: {type: Boolean, defaultValue: false}, code: {type: String, optional: true}, privacy: {type: String}, category: {type: String}, moderators: {type: [String], optional: true}, banned: {type: [String], optional: true}, - blockEdit: {type: [String], optional: true}, - admin: {type: String} + blockEdit: {type: [String], optional: true} }); work.schema = new SimpleSchema({