@@ -15,6 +15,11 @@ Cards.attachSchema(new SimpleSchema({
}
},
+ parentId: {
+ type: String,
+ optional: true,
+ defaultValue: '',
+ },
listId: {
type: String,
@@ -258,3 +258,15 @@ Migrations.add('add-assigner-field', () => {
}, noValidateMulti);
});
+
+Migrations.add('add-parent-field-to-cards', () => {
+ Cards.update({
+ $exists: false,
+ }, {
+ $set: {
+ parentId:'',
+ }, noValidateMulti);
+});