Page MenuHomePhabricator

[native] migrate message store threads to SQLite
ClosedPublic

Authored by kamil on Apr 17 2023, 11:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2025, 1:26 AM
Unknown Object (File)
Jan 9 2025, 3:45 AM
Unknown Object (File)
Jan 1 2025, 8:10 AM
Unknown Object (File)
Jan 1 2025, 8:10 AM
Unknown Object (File)
Jan 1 2025, 8:10 AM
Unknown Object (File)
Jan 1 2025, 8:09 AM
Unknown Object (File)
Jan 1 2025, 8:05 AM
Unknown Object (File)
Nov 30 2024, 12:24 AM
Subscribers

Details

Summary

Migrating rehydrated store to SQLite database.

Depends on D7470

Test Plan

Check if migration succeeded:

image.png (41×445 px, 6 KB)

And if database content equals redux state (from redux-devtools)

image.png (601×874 px, 88 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Apr 18 2023, 2:56 AM
tomek added inline comments.
native/redux/persist.js
510

In other migrations that populated the db, we were adding a remove operation as the first one. Should we something similar here?

This revision is now accepted and ready to land.Apr 20 2023, 7:48 AM

remove operation

native/redux/persist.js
510

I think this is not needed as I wanted to land the entire stack at once but I'll add this to match the convention