summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/migrations.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 836220f3..01fb7a5b 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -777,3 +777,19 @@ Migrations.add('fix-incorrect-dates', () => {
}),
);
});
+
+Migrations.add('add-assignee', () => {
+ Cards.update(
+ {
+ assignees: {
+ $exists: false,
+ },
+ },
+ {
+ $set: {
+ assignees: [],
+ },
+ },
+ noValidateMulti,
+ );
+});