diff options
Diffstat (limited to 'server/migrations.js')
-rw-r--r-- | server/migrations.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/server/migrations.js b/server/migrations.js index 01fb7a5b..a8b59c3e 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -793,3 +793,27 @@ Migrations.add('add-assignee', () => { noValidateMulti, ); }); + +Migrations.add('remove-profile-showDesktopDragHandles', () => { + Users.update( + {}, + { + $unset: { + 'profile.showDesktopDragHandles': 1, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('remove-profile-hiddenMinicardLabelText', () => { + Users.update( + {}, + { + $unset: { + 'profile.hiddenMinicardLabelText': 1, + }, + }, + noValidateMulti, + ); +}); |