Remove whole database migrations

We should enable this when we are willing to run attachment migration
on startup.
pull/1/head
Daniel Gasienica 7 years ago
parent 057762806e
commit c853d1bccd

@ -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…
Cancel
Save