mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Attachments, ensure index of cardId exists
This commit is contained in:
parent
ada7b3dd2d
commit
6d5651e53f
2 changed files with 5 additions and 1 deletions
|
|
@ -1276,3 +1276,7 @@ Migrations.add('migrate-avatars-collectionFS-to-ostrioFiles', () => {
|
|||
readStream.pipe(writeStream);
|
||||
});
|
||||
});
|
||||
|
||||
Migrations.add('migrate-attachment-drop-index-cardId', () => {
|
||||
Attachments.collection._dropIndex({'cardId': 1});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue