summaryrefslogtreecommitdiffstats
path: root/models/boards.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/boards.js')
-rw-r--r--models/boards.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/models/boards.js b/models/boards.js
index c10e51a3..6aba0b1e 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -71,6 +71,10 @@ Boards.attachSchema(new SimpleSchema({
'midnight',
],
},
+ description: {
+ type: String,
+ optional: true,
+ },
}));
@@ -141,6 +145,10 @@ Boards.mutations({
return { $set: { title }};
},
+ setDesciption(description) {
+ return { $set: {description} };
+ },
+
setColor(color) {
return { $set: { color }};
},