Browse Source

Migrations, set "Show Lists" on card details on every board

Martin Filser 3 years ago
parent
commit
bb5b723520
1 changed files with 16 additions and 0 deletions
  1. 16 0
      server/migrations.js

+ 16 - 0
server/migrations.js

@@ -1103,3 +1103,19 @@ Migrations.add('assign-boardwise-card-numbers', () => {
     });
   })
 });
+
+Migrations.add('add-card-details-show-lists', () => {
+  Boards.update(
+    {
+      allowsShowLists: {
+        $exists: false,
+      },
+    },
+    {
+      $set: {
+        allowsShowLists: true,
+      },
+    },
+    noValidateMulti,
+  );
+});