diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-02-12 02:08:29 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-02-12 02:08:29 +0200 |
commit | e89965f6422fd95b4ad2112ae407b1dde4853510 (patch) | |
tree | 755ce1eab44ad01a63e231566ec84777d3b928a9 /server | |
parent | b4e55830652d2186b2a52f3c34fca05ba175c223 (diff) | |
download | wekan-e89965f6422fd95b4ad2112ae407b1dde4853510.tar.gz wekan-e89965f6422fd95b4ad2112ae407b1dde4853510.tar.bz2 wekan-e89965f6422fd95b4ad2112ae407b1dde4853510.zip |
Remove card element grouping to create compact card layout.
Card Settings / Show on Card: Description Title and Description Text.
Thanks to e-stoniauk, 2020product and xet7 !
Fixes https://github.com/wekan/wekan/pull/2922
Diffstat (limited to 'server')
-rw-r--r-- | server/migrations.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js index 3bbd9964..b4489987 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -1001,3 +1001,35 @@ Migrations.add('add-activities-allowed', () => { noValidateMulti, ); }); + +Migrations.add('add-description-title-allowed', () => { + Boards.update( + { + allowsDescriptionTitle: { + $exists: false, + }, + }, + { + $set: { + allowsDescriptionTitle: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-description-text-allowed', () => { + Boards.update( + { + allowsDescriptionText: { + $exists: false, + }, + }, + { + $set: { + allowsDescriptionText: true, + }, + }, + noValidateMulti, + ); +}); |