Remove whole database migrations
We should enable this when we are willing to run attachment migration on startup.
This commit is contained in:
parent
057762806e
commit
c853d1bccd
1 changed files with 0 additions and 11 deletions
|
@ -92,17 +92,6 @@
|
|||
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');
|
||||
storage.fetch();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue