HomePhabricator
Diffusion Comm 35313865ac8f

[web-db] add migration logic to SQLite on web

Description

[web-db] add migration logic to SQLite on web

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:

  1. Check if migrate is called when using old db
  2. Check in migrate is not called when creating fresh database
  3. Tests

Reviewers: tomek, michal

Reviewed By: michal

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7982

Details

Provenance
kamilAuthored on May 25 2023, 9:45 AM
Reviewer
michal
Differential Revision
D7982: [web-db] add migration logic to SQLite on web
Parents
rCOMM4dc5bc99ef9e: [native] stop persisting reports
Branches
Unknown
Tags
Unknown