소스 검색

Revert adding migration

Nadav Tasher 6 달 전
부모
커밋
2ebff3a864
1개의 변경된 파일0개의 추가작업 그리고 13개의 파일을 삭제
  1. 0 13
      server/migrations.js

+ 0 - 13
server/migrations.js

@@ -1489,16 +1489,3 @@ Migrations.add('remove-user-profile-hideCheckedItems', () => {
     noValidateMulti,
   );
 });
-
-Migrations.add('add-default-auto-width-boards', () => {
-  Users.find().forEach(user => {
-    if (!user.hasOwnProperty('profile.autoWidths')) {
-      // Set default auto widths
-      Users.direct.update(
-        { _id: user._id },
-        { $set: { 'profile.autoWidths': {} } },
-        noValidate,
-      );
-    }
-  });
-});