diff --git a/js/background.js b/js/background.js index 18a4c6d4e4..dce1de980a 100644 --- a/js/background.js +++ b/js/background.js @@ -88,6 +88,9 @@ console.log('Migrate database with attachments'); await Migrations0DatabaseWithAttachmentData.run({ Backbone }); + console.log('Migrate attachments to disk'); + await MessageDataMigrator.processAll({ Backbone, storage, upgradeMessageSchema }); + console.log('Migrate database without attachments'); await Migrations1DatabaseWithoutAttachmentData.run({ Backbone,