From c853d1bccdd187a2706440f45e625b87b77d93c4 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 2 Apr 2018 19:00:18 -0400 Subject: [PATCH] Remove whole database migrations We should enable this when we are willing to run attachment migration on startup. --- js/background.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/background.js b/js/background.js index 4b659b4d7..00e96ddbc 100644 --- a/js/background.js +++ b/js/background.js @@ -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();