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)
Tue, Nov 26, 4:45 PM
Unknown Object (File)
Sat, Nov 23, 7:13 AM
Unknown Object (File)
Fri, Nov 8, 2:47 PM
Unknown Object (File)
Fri, Nov 8, 2:47 PM
Unknown Object (File)
Fri, Nov 8, 2:47 PM
Unknown Object (File)
Fri, Nov 8, 2:46 PM
Unknown Object (File)
Fri, Nov 8, 2:42 PM
Unknown Object (File)
Mon, Nov 4, 8:20 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
Branch
land-rp
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 ↗(On Diff #25227)

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 ↗(On Diff #25227)

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