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)
Wed, Apr 9, 12:59 AM
Unknown Object (File)
Tue, Apr 8, 10:54 PM
Unknown Object (File)
Tue, Apr 8, 10:36 PM
Unknown Object (File)
Tue, Apr 8, 10:30 PM
Unknown Object (File)
Mar 16 2025, 4:21 AM
Unknown Object (File)
Mar 6 2025, 2:58 PM
Unknown Object (File)
Mar 6 2025, 4:17 AM
Unknown Object (File)
Mar 5 2025, 1:47 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