Show description on minicard

This commit is contained in:
helioguardabaxo 2022-04-05 17:00:39 -03:00
parent 470645193e
commit db4421c7b8
7 changed files with 71 additions and 2 deletions

View file

@ -1034,6 +1034,22 @@ Migrations.add('add-description-text-allowed', () => {
);
});
Migrations.add('add-description-text-allowed-on-minicard', () => {
Boards.update(
{
allowsDescriptionTextOnMinicard: {
$exists: false,
},
},
{
$set: {
allowsDescriptionTextOnMinicard: true,
},
},
noValidateMulti,
);
});
Migrations.add('add-sort-field-to-boards', () => {
Boards.find().forEach((board, index) => {
if (!board.hasOwnProperty('sort')) {