mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-23 20:00:00 +00:00
Remove whole database migrations
We should enable this when we are willing to run attachment migration on startup.
This commit is contained in:
@@ -92,17 +92,6 @@
|
|||||||
upgradeMessageSchema,
|
upgradeMessageSchema,
|
||||||
});
|
});
|
||||||
|
|
||||||
const status = await Migrations1DatabaseWithoutAttachmentData.getStatus({
|
|
||||||
database: Whisper.Database,
|
|
||||||
});
|
|
||||||
console.log('Run migrations on database without attachment data:', status);
|
|
||||||
if (status.canRun) {
|
|
||||||
await Migrations1DatabaseWithoutAttachmentData.run({
|
|
||||||
Backbone,
|
|
||||||
database: Whisper.Database,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log('Storage fetch');
|
console.log('Storage fetch');
|
||||||
storage.fetch();
|
storage.fetch();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user