Page MenuHomePhabricator

[web-db] implement setting/getting `currentUserID` on worker
ClosedPublic

Authored by kamil on Mar 27 2023, 4:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 7:40 AM
Unknown Object (File)
Wed, Nov 6, 3:19 AM
Unknown Object (File)
Wed, Nov 6, 3:19 AM
Unknown Object (File)
Wed, Nov 6, 3:19 AM
Unknown Object (File)
Tue, Nov 5, 2:07 AM
Unknown Object (File)
Sat, Nov 2, 12:30 AM
Unknown Object (File)
Sat, Nov 2, 12:30 AM
Unknown Object (File)
Fri, Nov 1, 11:55 PM
Subscribers

Details

Summary

Store currentUserID in SQLite database.

It can be done by different way - performing operations directly on metadata table with parameters, but I wanted to make it similar to CommCoreModuleSchema.

Depend on D7181

Test Plan

Send SET_CURRENT_USER_ID and GET_CURRENT_USER_ID messages to worker and check if it works

Diff Detail

Repository
rCOMM Comm
Branch
db-web-7
Lint
No Lint Coverage
Unit
No Test Coverage