From 26826488d862d92db2d923dc469870206990352e Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 5 Dec 2019 00:11:56 +0530 Subject: [PATCH] fix: migrate then postStart --- src/main-electron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main-electron.js b/src/main-electron.js index bcc21968..951f4bb0 100644 --- a/src/main-electron.js +++ b/src/main-electron.js @@ -203,8 +203,8 @@ import router from './router'; dbPath: filepath }); await frappe.db.connect(); - await postStart(); await frappe.db.migrate(); + await postStart(); } catch (e) { console.log(e); }