Similar to keyserver logic. Currently, nothing is happening when migration will fail but there is a followup task to improve error handling on web.
Depends on D7939
Paths
| Differential D7982 Authored by kamil on May 25 2023, 10:25 AM.
Details
Summary Similar to keyserver logic. Currently, nothing is happening when migration will fail but there is a followup task to improve error handling on web. Depends on D7939 Test Plan
Diff Detail
Event Timelinekamil held this revision as a draft. Herald added subscribers: atul, ashoat. · View Herald TranscriptMay 25 2023, 10:25 AM2023-05-25 10:25:29 (UTC-7) Harbormaster completed remote builds in B19775: Diff 27067.May 25 2023, 10:43 AM2023-05-25 10:43:26 (UTC-7) Comment Actions I think you could test the migration code by mocking the migrations variable with jest, but not sure if that's worth it. This revision is now accepted and ready to land.May 30 2023, 8:26 AM2023-05-30 08:26:21 (UTC-7) Closed by commit rCOMM35313865ac8f: [web-db] add migration logic to SQLite on web (authored by kamil). · Explain WhyMay 31 2023, 10:11 AM2023-05-31 10:11:58 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 27310 web/database/queries/db-queries.js
web/database/sql-js.test.js
web/database/utils/migrations.js
web/database/worker/db-worker.js
|