diff options
Diffstat (limited to 'server/migrations.js')
-rw-r--r-- | server/migrations.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js index f877200a..640eae69 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -233,3 +233,28 @@ Migrations.add('add-custom-fields-to-cards', () => { }, }, noValidateMulti); }); + +Migrations.add('add-requester-field', () => { + Cards.update({ + requestedBy: { + $exists: false, + }, + }, { + $set: { + requestedBy:'', + }, + }, noValidateMulti); +}); + +Migrations.add('add-assigner-field', () => { + Cards.update({ + assignedBy: { + $exists: false, + }, + }, { + $set: { + assignedBy:'', + }, + }, noValidateMulti); +}); + |