summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnatzHome <ignatz@maschath.de>2018-05-19 08:58:30 +0200
committerIgnatzHome <ignatz@maschath.de>2018-05-19 08:58:30 +0200
commit4600e4e2379e12a928b1e8b3d20470f49b82f8b5 (patch)
tree5c59ab5b87980681b897c49a3109a12260e280a0
parentef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f (diff)
downloadwekan-4600e4e2379e12a928b1e8b3d20470f49b82f8b5.tar.gz
wekan-4600e4e2379e12a928b1e8b3d20470f49b82f8b5.tar.bz2
wekan-4600e4e2379e12a928b1e8b3d20470f49b82f8b5.zip
Migration Test
-rw-r--r--server/migrations.js12
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);
+});