Run attachment to disk migration on startup
This commit is contained in:
parent
178a3cc262
commit
b8a0bc3423
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue