mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-12 08:07:11 +01:00
Run attachment to disk migration on startup
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user