# QUESTION: migration from localStorage to SQLite storage

**URL:** <https://forum.ionicframework.com/t/question-migration-from-localstorage-to-sqlite-storage/127783>\
**Category:** Ionic Native\
**Created:** [April 13, 2018, 7:40am UTC](https://forum.ionicframework.com/t/question-migration-from-localstorage-to-sqlite-storage/127783 "2018-04-13T07:40:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![serpaulius](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@serpaulius](https://forum.ionicframework.com/u/serpaulius)\
**Post date:** [April 13, 2018, 7:40am UTC](https://forum.ionicframework.com/t/question-migration-from-localstorage-to-sqlite-storage/127783/1 "2018-04-13T07:40:58Z")

</div>

Hello,

Currently I have an iOS/Android app in production that uses the ionic-storage library ("@ionic/storage": “2.1.3”). The production version is built without cordova SQLite storage plugin (cordova-sqlite-storage).

[Again, I’m using this plugin WITHOUT SQLite installed](https://ionicframework.com/docs/storage/)

The questions are:

What type of storage this library is using right now? Is it localStorage, WebSQL or IndexedDB?  
Will the currently saved user data be migrated, if I install the cordova-sqlite-storage plugin and update the app in production?  
If not, how can I migrate from SQLite-less local storage to the SQLite-ful one?

Thank you for help!

---

<div class="post-metadata">

**Author:** ![vincebanzon](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@vincebanzon](https://forum.ionicframework.com/u/vincebanzon)\
**Post date:** [September 16, 2018, 2:11pm UTC](https://forum.ionicframework.com/t/question-migration-from-localstorage-to-sqlite-storage/127783/2 "2018-09-16T14:11:09Z")

</div>

I’m having the same concern. Specially the persistency of the data if OS can still decide to delete the data of the application.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:40pm UTC](https://forum.ionicframework.com/t/question-migration-from-localstorage-to-sqlite-storage/127783/3 "2021-07-19T21:40:53Z")

</div>

Closed on July 19, 2021, 9:40pm UTC


