Comments (3)
Anyone?
from cordova-sqlite-ext.
My apologies for the delay. Assuming the app did not store any user data in the database:
The new version of your app should use a new database with a new name. It should also be smart enough to delete the old database if it exists (or just call sqlitePlugin.deleteDatabase and ignore the success/error callbacks).
Please keep in mind that it is extreemely difficult if not impossible to know how long it will take for users to upgrade their apps. So newer versions of the app should just include the logic to cleanup the old database if it exists.
from cordova-sqlite-ext.
Thank you.
I have no user data in the database, so the approach of adding new database and cleaning up old ones should work.
from cordova-sqlite-ext.
Related Issues (20)
- New android apk does not update the device db. Is this normal? HOT 2
- IOS Shared App Group, how to? HOT 2
- issues in windows UWP HOT 2
- update populated database HOT 1
- cascading selects HOT 1
- Any plans to support the sqlite spatial extensions? HOT 2
- Cordova IOS insert/select out of column order. HOT 1
- Failed added plugin to [email protected] HOT 3
- Getting error while building after adding [email protected] HOT 1
- any reports of hangs with [email protected] and later ? HOT 9
- Cannot Open pre populated database. HOT 1
- Background thread per db
- Using the plugin with Ionic v4/v5
- Support for Android SDK v30 HOT 21
- DB not opening on oneplus7t Pro, Vivo V2050, RealMe 7i HOT 2
- Could not open database
- Query with RENAME breaks on Android 8, 9 and 10, but only with new versions HOT 1
- Google API Level 33 support HOT 1
- adding support electron
- Question about futures versions of iOS/Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-sqlite-ext.