Closed Bug 900289 Opened 11 years ago Closed 11 years ago

Enable foreign key pragma on FHR database

Categories

(Android Background Services Graveyard :: Firefox Health Report Service, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

This ensures correctness that is already assumed to exist and allows convenience functionality like cascading deletions. More robust insertion tests may need to be added to ensure the DB data is properly inserted.
Assignee: nobody → michael.l.comella
OS: Linux → Android
Hardware: x86_64 → ARM
Status: NEW → ASSIGNED
Hardware: ARM → All
Whiteboard: [qa+]
r? - https://github.com/mozilla-services/android-sync/pull/342 Note that the PrepopulatedMockHealthReportDatabaseStorage class is a modified cherry-pick from https://github.com/mozilla-services/android-sync/pull/335 , the original on which you have already f+'d.
Flags: needinfo?(rnewman)
Reviewed.
Flags: needinfo?(rnewman)
r? - Please provide additional feedback on the versioning (and XXX) change and https://github.com/mozilla-services/android-sync/pull/342#r5593766
Flags: needinfo?(rnewman)
> https://github.com/mozilla-services/android-sync/pull/342#r5593766 It seemed to eat my URL. This is for the comment on line 345 of TestHealthReportDatabaseStorage.
r? (again) - added data migration and the associated tests. Please let me know if I'm being too diligent in testing.
Attached patch PatchSplinter Review
r+ via git.
Attachment #787942 - Flags: review+
Flags: needinfo?(rnewman)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: