Merge pull request #4477 from helioguardabaxo/master

Added members list and board card count per list on My Boards
This commit is contained in:
Lauri Ojansivu 2022-04-15 19:52:29 +03:00 committed by GitHub
commit 9ed1105e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 188 additions and 0 deletions

View file

@ -73,6 +73,39 @@ Migrations.add('board-background-color', () => {
);
});
Migrations.add('add-cardcounterlist-allowed', () => {
Boards.update(
{
allowsCardCounterList: {
$exists: false,
},
},
{
$set: {
allowsCardCounterList: true,
},
},
noValidateMulti,
);
});
Migrations.add('add-boardmemberlist-allowed', () => {
Boards.update(
{
allowsBoardMemberList: {
$exists: false,
},
},
{
$set: {
allowsBoardMemberList: true,
},
},
noValidateMulti,
);
});
Migrations.add('lowercase-board-permission', () => {
['Public', 'Private'].forEach(permission => {
Boards.update(