summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-02-07 13:58:43 +0200
committerLauri Ojansivu <x@xet7.org>2020-02-07 13:58:43 +0200
commit2fce02afbced07c6ff2b05786f159701c8b559e9 (patch)
tree4c38417f5745725b4fe88b268bd0fbd102204c9d /server
parenta58e6be78d82af991884427fec953e891e3c779d (diff)
downloadwekan-2fce02afbced07c6ff2b05786f159701c8b559e9.tar.gz
wekan-2fce02afbced07c6ff2b05786f159701c8b559e9.tar.bz2
wekan-2fce02afbced07c6ff2b05786f159701c8b559e9.zip
Add Feature: Card Settings/Show on card/Activities.
Fix: When in Card Settings hiding Comments, only adding new comment is hidden, not old comments. Thanks to xet7 ! Closes #2925
Diffstat (limited to 'server')
-rw-r--r--server/migrations.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 12a872a8..3bbd9964 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -985,3 +985,19 @@ Migrations.add('add-requested-by-allowed', () => {
noValidateMulti,
);
});
+
+Migrations.add('add-activities-allowed', () => {
+ Boards.update(
+ {
+ allowsActivities: {
+ $exists: false,
+ },
+ },
+ {
+ $set: {
+ allowsActivities: true,
+ },
+ },
+ noValidateMulti,
+ );
+});