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, Apr 18, 11:54 AM
Unknown Object (File)
Fri, Apr 18, 5:15 AM
Unknown Object (File)
Thu, Apr 17, 11:39 PM
Unknown Object (File)
Thu, Apr 17, 2:09 AM
Unknown Object (File)
Wed, Apr 9, 1:17 AM
Unknown Object (File)
Wed, Apr 9, 12:04 AM
Unknown Object (File)
Tue, Apr 8, 9:41 PM
Unknown Object (File)
Tue, Apr 8, 9:24 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