summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/migrations.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/migrations.js b/server/migrations.js
index ae9cb8da..d0e63388 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -153,7 +153,7 @@ Migrations.add('add-sort-checklists', () => {
});
Migrations.add('add-swimlanes', () => {
- Boards.forEach((board) => {
+ Boards.find().forEach((board) => {
const swimlaneId = board.getDefaultSwimline()._id;
Cards.find({ boardId: board._id }).forEach((card) => {
if (!card.hasOwnProperty('swimlaneId')) {