mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Attachment property "meta.source" had wrong value
This commit is contained in:
parent
927f155078
commit
fe018225b4
1 changed files with 9 additions and 0 deletions
|
|
@ -1332,3 +1332,12 @@ Migrations.add('migrate-attachment-drop-index-cardId', () => {
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Migrations.add('migrate-attachment-migration-fix-source-import', () => {
|
||||||
|
// there was an error at first versions, so source was import, instead of import
|
||||||
|
Attachments.update(
|
||||||
|
{"meta.source":"import,"},
|
||||||
|
{$set:{"meta.source":"import"}},
|
||||||
|
noValidateMulti
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue