Run attachment to disk migration on startup

pull/1/head
Daniel Gasienica 7 years ago
parent 178a3cc262
commit b8a0bc3423

@ -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,

Loading…
Cancel
Save