title: ERROR Error: Database not created. Must call create() first
body: <p>Hi my app encounter this error &quot;Database not created. Must call create() first&quot; after added auth service  for Role Based Authentication .</p>
  <p>May i know to resolve?</p>
  <pre><code>core.js:6456 ERROR Error: Database not created. Must call create() first
      at Storage.assertDb (index.js:64)
      at Storage.set (index.js:84)
      at AuthService.login (auth.service.ts:35)
      at LoginPage.login (login.page.ts:54)
      at LoginPage_Template_ion_button_click_19_listener (template.html:45)
      at executeListenerWithErrorHandling (core.js:15285)
      at wrapListenerIn_markDirtyAndPreventDefault (core.js:15323)
      at HTMLElement.&lt;anonymous&gt; (platform-browser.js:560)
      at ZoneDelegate.invokeTask (zone.js:434)
      at Object.onInvokeTask (core.js:28661)
  </code></pre>