HomePhabricator
Diffusion Comm c2ec64740555

[SQLite] add version column to session table & rename to `target_device`

Tags
None
Referenced Files
F1489501: image.png
Apr 11 2024, 4:47 AM
File Not Attached
F1489500: image.png
Apr 11 2024, 4:47 AM
File Not Attached
F1489499: image.png
Apr 11 2024, 4:47 AM
File Not Attached
Subscribers
None

Description

[SQLite] add version column to session table & rename to target_device

Summary:
ENG-7285.
ENG-7034.

Depends on D11574

Test Plan:

  1. Tested query in SQLite.

Before:

image.png (240×1 px, 174 KB)

Query:
image.png (364×1 px, 45 KB)

After:
image.png (149×998 px, 72 KB)

  1. Tested migration on both web and native.
  2. Tested creating DB from scratch on both web and native.

Reviewers: bartek, marcin, tomek

Reviewed By: marcin

Subscribers: ashoat

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

Details