Bug 900289 - Part 1: Enable foreign key pragma on DB open.
Bug 900289 - Part 2: Update licenses.
Bug 900289 - Part 3: Add PrepopulatedMockHealthReportStorage and insert tests.
Bug 900289 - Part 4: Add foreign key constraint tests (db level).
Bug 900289 - Part 5: Add deleteEverything test.
Bug 900289 - Part 6: Add cascading and restricted deletion tests.
Bug 900289 - Part 7: Add foreign key constraint tests through measurement recording.
Bug 900289 - Review comment: Remove Exception catch-all statements.
Bug 900289 - Review comment: Make finding a non-existent ID more efficient in SQL.
Bug 900289 - Review comment: Add versioned constructor to prepopulated storage.
Bug 900289 - Review comment: Use rawQuery over query for simplicity.
Bug 900289 - Part 8: Bump DB version to 5 and add DB upgrade method.
Bug 900289 - Part 9: Update licenses (again).
Bug 900289 - Part 10: Move helper functions to DBHelpers.
Bug 900289 - Part 11: Create MockHealthReportSQLiteOpenHelper with schema v4.
Bug 900289 - Part 12: Add test for upgradeDatabaseFrom4To5 method.
Bug 900289 - Review comment: Clarify constraint violation in onUpgrade.
Bug 900289 - Review comment: Make database in test writable.
Bug 900289 - Review comment: Only accept current version or v4 for test.