Add UI for importing card-as-card and board-as-card

This commit is contained in:
Andrés Manelli 2018-03-20 00:13:42 -03:00
parent 193af893ee
commit dcc7b2970f
8 changed files with 199 additions and 1 deletions

View file

@ -213,6 +213,17 @@ Migrations.add('add-profile-view', () => {
});
});
Migrations.add('add-card-types', () => {
Cards.find().forEach((card) => {
Cards.direct.update(
{ _id: card._id },
{ $set: {
type: 'cardType-card',
importedId: null } },
noValidate
);
});
Migrations.add('add-custom-fields-to-cards', () => {
Cards.update({
customFields: {