HomePhabricator
Diffusion Comm 7081079553c2

[native/sqlite] introduce function to set up database

Description

[native/sqlite] introduce function to set up database

Summary:
Create database on a fresh install (db version: 0).

Note: whenever code will face issues right now there are break or return statements but they will be handled in a different way after implementing ENG-1974

Test Plan:
Perform logout user and check if

  • DB schema has proper structure (tables, columns, types, indexes)
  • journal_mode is set properly to value ’wal`

Reviewers: marcin, jon, atul, tomek

Reviewed By: marcin, atul, tomek

Subscribers: ashoat, tomek, atul, abosh

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

Details

Provenance
kamilAuthored on Oct 17 2022, 5:28 AM
Reviewer
marcin
Differential Revision
D5379: [native/sqlite] introduce function to set up database
Parents
rCOMMfaefacd216d0: [native/sqlite] introduce function to create database
Branches
Unknown
Tags
Unknown