title: Ionic2 Sqlite db file location
body: <p>I know, that this question has many answers out there in the world of Google, but either I'm not so smart, or do something wrong) While developing with Ionic v1 I was been able to store by db file and access it from the app. But in Ionic 2 I'he tried many places where the file could be placed and nothing was working.
  Here is the code that I use to connect db in my app:</p>
  
  <pre><code>return this._platform.ready().then(() =&gt; {
    this._storage = new Storage(SqlStorage, {
      name: 'dbname.db',
      backupFlag: SqlStorage.BACKUP_LOCAL,
      iosDatabaseLocation: 'default',
      existingDatabase: true
    });
  });
  </code></pre>
  
  <p>but every time I have </p>
  
  <blockquote>
    <p>code: 5<br>
    message: "no such table: user"</p>
  </blockquote>