HomePhabricator
Diffusion Comm 4eae7d155205

[native] refactor `migrate()` method to static member of `SQLiteQueryExecutor`

Description

[native] refactor migrate() method to static member of SQLiteQueryExecutor

Summary:
Motivation:

  1. Migration process is not connected to query executor instance, but to database (specific one, SQLite in this case) in general.
  2. In next diff from the stack we will need to make clearSensitiveData also static and we will not be able to use this->migrate() there.

Test Plan: Build the app and run migrations, there should behave the same way as previously

Reviewers: marcin, tomek

Reviewed By: marcin, tomek

Subscribers: ashoat, tomek, atul

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

Details

Provenance
kamilAuthored on Dec 21 2022, 1:41 AM
Reviewer
marcin
Differential Revision
D5988: [native] refactor `migrate()` method to static member of `SQLiteQueryExecutor`
Parents
rCOMMeeccda20b2d2: Update `staff.js`
Branches
Unknown
Tags
Unknown