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.
Summary: Add code to drop all tables and start a refresh database → Add code to drop all tables and start a fresh database
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 3 hours ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.