mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 02:34:20 +01:00
Revert adding migration
This commit is contained in:
parent
0097674fc0
commit
2ebff3a864
1 changed files with 0 additions and 13 deletions
|
|
@ -1489,16 +1489,3 @@ Migrations.add('remove-user-profile-hideCheckedItems', () => {
|
||||||
noValidateMulti,
|
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,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue