Created attachment 455578 [details] [diff] [review] Patch We have our SQLite constraints wrong, and need to fix them. Plus we should try to UPDATE if INSERT fails.
8 years ago
Attachment #455578 - Flags: review?(sdwilsh)
Do you have a testcase for this?
Not really. I just figured it out by dumping the database
Comment on attachment 455578 [details] [diff] [review] Patch The only issue here is that all existing builds are going to have to be updated with their index, which means we need to look at the schemaVersion on the database and modify it accordingly. r=sdwilsh with that fixed.
Attachment #455578 - Flags: review?(sdwilsh) → review+
Assignee: nobody → bent.mozilla
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: DOM → DOM: IndexedDB
You need to log in before you can comment on or make changes to this bug.