title: Apply Sqlite/Any SQL Database Migrations with Electron [Windows, Mac]
body: <p><strong>My Scenario,</strong></p>
  
  <p>I am working on a desktop based application. Where My big challenge is keeping data into relational DB(Offline) and sync accordingly(Company have their own syncing algorithm). I am using <strong>Electron</strong> and <strong>VueJS</strong> as client side. For building the desktop app I'm using <em>electron-builder</em>. I am able to write migrations with raw SQL or various ORM.</p>
  
  <p><strong>What I want?</strong></p>
  
  <p>While I'll install into a desktop, I want to create the database file and apply all the migrations on the client's computer. I just don't know that part how to do that. I also looked into <a href="https://www.electron.build/configuration/configuration" rel="nofollow noreferrer">Electron Builder Docs</a>. But didn't understand. I need an example, any idea. </p>
  
  <p>Please help me. Thanks </p>