Revert adding migration

This commit is contained in:
Nadav Tasher 2024-12-07 18:56:40 +02:00
parent 0097674fc0
commit 2ebff3a864

View file

@ -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,
);
}
});
});