Remove whole database migrations

We should enable this when we are willing to run attachment migration
on startup.
This commit is contained in:
Daniel Gasienica 2018-04-02 19:00:18 -04:00
parent 057762806e
commit c853d1bccd

View file

@ -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();