Browse Source

Added uploadedAt and copies to be migrated when migrating CollectionFS to ostrio-files.

Thanks to xet7 !

Related https://github.com/wekan/wekan/issues/4891
Lauri Ojansivu 2 năm trước cách đây
mục cha
commit
0090734cd8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      server/migrations.js

+ 2 - 0
server/migrations.js

@@ -1281,6 +1281,8 @@ Migrations.add('migrate-attachments-collectionFS-to-ostrioFiles', () => {
             cardId: fileObj.cardId,
             listId: fileObj.listId,
             swimlaneId: fileObj.swimlaneId,
+            uploadedAt: fileObj.uploadedAt,
+            copies: fileObj.copies,
             source: 'import'
           },
           userId,