Closed
Bug 843008
Opened 11 years ago
Closed 3 years ago
Add code to drop all tables and start a fresh database
Categories
(Firefox for Android Graveyard :: Data Providers, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mfinkle, Unassigned)
Details
I think we need to add code to drop all tables and start a fresh database. I see a few reasons to do so: 1. A downgrade situation. When downgrading we can't rollback the DB changes. All we can really do is wipe the existing data and start fresh, using the current DB version of the downgraded app. 2. Upgrading from a really old version. This is not a problem for us yet, but could be in the future. I see many Android apps just bail during onUpgrade if the old version is "out of the supported range". 3. Irrecoverable DB errors. Sometimes we hit a DB problem that causes crashes or corruption until the profile is manually cleared, or the user uninstalls/reinstalls the app. We could just blow away the database in that situation and start fresh.
Reporter | ||
Updated•11 years ago
|
Summary: Add code to drop all tables and start a refresh database → Add code to drop all tables and start a fresh database
Comment 1•3 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•