HomePhabricator
Diffusion Comm 19a81c3ea6ac

[native/sqlite] set `journal_mode` on fresh install

Description

[native/sqlite] set journal_mode on fresh install

Summary:
Add missing pragma statement setting journal_mode on a fresh install.

More context here.

Test Plan:

  1. Build app without db encryption code.
  2. Logout user.
  3. Connect with db using sqlite3 and run PRAGMA journal_mode; to check if mode was set properly.

Reviewers: tomek, jon, marcin

Reviewed By: tomek, marcin

Subscribers: ashoat, atul, abosh

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