diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-19 08:58:30 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-19 08:58:30 +0200 |
commit | 4600e4e2379e12a928b1e8b3d20470f49b82f8b5 (patch) | |
tree | 5c59ab5b87980681b897c49a3109a12260e280a0 | |
parent | ef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f (diff) | |
download | wekan-4600e4e2379e12a928b1e8b3d20470f49b82f8b5.tar.gz wekan-4600e4e2379e12a928b1e8b3d20470f49b82f8b5.tar.bz2 wekan-4600e4e2379e12a928b1e8b3d20470f49b82f8b5.zip |
Migration Test
-rw-r--r-- | server/migrations.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js index 0fdd1fe0..e304a592 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -219,3 +219,15 @@ Migrations.add('add-profile-view', () => { ); }); }); + +Migrations.add('add-custom-fields-to-cards', () => { + Cards.update({ + customFields: { + $exists: false, + }, + }, { + $set: { + customFields:[], + }, + }, noValidateMulti); +}); |