From e51d35eba9cc41ec9a925ca66d553d456759bd1f Mon Sep 17 00:00:00 2001 From: yamanq Date: Mon, 8 Aug 2016 20:49:24 -0400 Subject: [PATCH] change schema --- hourglass/collections/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hourglass/collections/main.js b/hourglass/collections/main.js index 8a5b8ef..5ae871a 100644 --- a/hourglass/collections/main.js +++ b/hourglass/collections/main.js @@ -15,7 +15,7 @@ classes.schema = new SimpleSchema({ teacher: {type: String, optional: true}, admin: {type: String, optional: true}, status: {type: Boolean, defaultValue: false}, - code: {type: String, optional: true}, + code: {type: String, defaultValue: ""}, privacy: {type: String}, category: {type: String}, moderators: {type: [String], optional: true},